Works on this device
Boilerplate Generator
Choose what you want to start, fill in a few details, and get the starting files: an HTML5 page, a small WordPress theme, a README outline, a .gitignore for your stack, or a LICENSE file. Copy or download each file, or download a folder of files as one ZIP file. The files are made in your browser.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Make the files.
Your result
How it was worked out
How to use the boilerplate generator
- Under What do you want to start?, choose a kind of project.
- Fill in the details, such as the page title or the theme name. Every field has a starting value or can be left empty.
- Choose Make the files. Each file is shown in its own box with Copy and Download buttons.
- For a page or a theme, choose Download all as a ZIP file to get the whole folder at once. A WordPress theme ZIP file can be uploaded under Appearance, Themes, Add New Theme.
What each kind gives you
- HTML5 page:
index.htmlwith the UTF-8 character set, a viewport for phones, the title, the language and an optional description, plusstyle.cssandscript.jsif you want them. The script is loaded withdefer. This is a page of this site's own, not the template of the HTML5 Boilerplate project. - WordPress theme: a small classic theme.
style.cssstarts with the comment that WordPress reads (Theme Name, Author, Description, Version, License, License URI, Text Domain).functions.phpadds the title tag and loads the style sheet.index.phpshows the posts, andheader.phpandfooter.phpcallwp_head(),wp_body_open()andwp_footer(). The folder name and the text domain are made from the theme name. - README outline:
README.mdwith a title, a description and the sections you choose (Installation, Usage, Contributing, License), each with a note in square brackets to replace. - .gitignore: a short starting list for one stack (Node.js, Python, Java (Maven or Gradle), .NET (C#), Go), with operating system and code editor files if you want them. For more stacks and tools use the Gitignore Generator.
- LICENSE file: the file names the license and its SPDX identifier, says where the official text is, and gives the copyright line. You paste the official text in. This page never writes the text of a license itself, because a license must be used word for word.
Licenses you can name
The names and identifiers come from the SPDX License List. Open the official text at https://spdx.org/licenses/ followed by the identifier and .html, for example https://spdx.org/licenses/MIT.html.
| SPDX identifier | Full name |
|---|---|
| MIT | MIT License |
| Apache-2.0 | Apache License 2.0 |
| GPL-2.0-only | GNU General Public License v2.0 only |
| GPL-2.0-or-later | GNU General Public License v2.0 or later |
| GPL-3.0-only | GNU General Public License v3.0 only |
| GPL-3.0-or-later | GNU General Public License v3.0 or later |
| LGPL-3.0-only | GNU Lesser General Public License v3.0 only |
| AGPL-3.0-only | GNU Affero General Public License v3.0 only |
| MPL-2.0 | Mozilla Public License 2.0 |
| BSD-2-Clause | BSD 2-Clause "Simplified" License |
| BSD-3-Clause | BSD 3-Clause "New" or "Revised" License |
| ISC | ISC License |
| Unlicense | The Unlicense |
| CC0-1.0 | Creative Commons Zero v1.0 Universal |
Worked example
A WordPress theme named Sunny Blog gets the folder and text domain sunny-blog. Its functions are named sunny_blog_setup and sunny_blog_styles, its style sheet is loaded under the name sunny-blog-style, and the ZIP file sunny-blog.zip holds sunny-blog/style.css, sunny-blog/functions.php, sunny-blog/index.php, sunny-blog/header.php and sunny-blog/footer.php.
A LICENSE file for the MIT License with the holder Jane Doe and the year 2026 names the identifier MIT, the official text https://spdx.org/licenses/MIT.html, and the copyright line Copyright (c) 2026 Jane Doe.
Limits you should know
- The files are a start. Check them, change them and test them for your own project.
- An AMP page is not made here, because an AMP page needs the exact required code of the AMP project, which this page does not copy.
- The ZIP file stores the files without compression. It is made on your device.
- Choosing a license is a legal decision; this page does not give legal advice. Read the official text before you choose.
- To lay out or shorten code, use the Code Formatter or the Code Minifier.