HTML5 Boilerplate
Front-end starter template with a tuned index.html, base and print styles, server configuration and a webpack setup for beginning a site from clean files.

At a glance
Checked
- Pricing
- Free: the whole template, MIT licensed
- Licence
- MIT, open source
- GitHub
- github.com/h5bp/html5-boilerplate57.7k stars · 12.2k forks · written in JavaScriptLatest release v9.0.1, 16 Apr 2024From GitHub, updated at every build
- Made by
- Rob Larsen and Christian Oliff, its current maintainers
- Platforms
- Any web server or static host; start with npx create-html5-boilerplate, npm, a GitHub template or a ZIP download
- Website
- html5boilerplate.com
What it’s good for
HTML5 Boilerplate is a folder of files to begin a site from: an index.html carrying the recommended meta tags and placeholder Open Graph elements, a main.css with base styles, helper classes, media queries and print styles, a placeholder favicon and touch icon, server configuration for several platforms, and an example package.json with webpack commands.
It suits a hand built site, a landing page or a prototype where you want sensible defaults and no framework deciding your architecture. The files are meant to be trimmed, so you delete what you will not use. It is free under MIT, and its documentation travels with the project for offline reading. Version 9.0.1, released in April 2024, is the latest, and the bundled webpack tooling needs Node.js 22.15 or later.
Alternatives to HTML5 Boilerplate
All Frontend Design toolsQuestions
- How do I start a project with HTML5 Boilerplate?
- Run npx create-html5-boilerplate new-site, then npm install and npm run start inside the new folder. You can also install the html5-boilerplate package from npm, create a repository from its GitHub template or download the release ZIP.
- Is HTML5 Boilerplate a CSS framework?
- No. It gives you starting files and base styles, not a grid or components, and it leaves you free to structure your code however you like.



