Pick your route before you pick a design
| Route | Cost | Best for |
|---|---|---|
| Bootstrap template | Free or premium; Bootstrap itself is free; free hosting on Cloudflare Pages, Netlify or GitHub Pages; domain about $10 to $15 a year | Developers and teams who know Bootstrap, or sites that will keep growing with new pages and components |
| Plain HTML and CSS template | Free download; same free hosting and domain cost | Small sites of one to ten pages that should stay light and easy to read |
| Website builder (Webflow, Wix) | Monthly plan | People who want a visual editor instead of code |
If nobody on your team has used Bootstrap before, its class names are one more thing to learn. A plain HTML template may be simpler to edit.
Free Bootstrap templates
New bootstrap templates are on the way.
Our own templates are plain HTML5 and CSS3, not Bootstrap, so our first Bootstrap designs are still on the way. Until they land, our free HTML templates use the same responsive patterns without the framework.
We release our own templates under the Zerotheme license. You can use them free for personal and commercial work, including sites you build for clients. Templates by other designers carry a credit and a link to their original source, and keep their own license. Bootstrap itself uses the MIT license. You can use it on personal and commercial sites as long as you keep the license and copyright notice in Bootstrap's CSS and JavaScript files.
What should you check in a Bootstrap template?
Check that it uses Bootstrap 5, keeps your styles in a separate file and loads only the JavaScript it needs. Then look for the viewport tag, the Sass source, accessible markup and a clear license.
- Bootstrap 5, ideally the latest 5.3 release, not Bootstrap 3 or 4. Bootstrap 5 dropped jQuery, so a version 5 template should not need it unless its own scripts do.
- Your styles in a separate file, loaded after Bootstrap. Bootstrap's own documentation advises leaving its core files untouched, which makes updates simpler.
- Only the JavaScript it uses. The
bootstrap.bundle.min.jsfile includes Popper, which dropdowns, popovers and tooltips need. A template without those components can skip it. - The viewport meta tag in the
headof every page, so phones use their real screen width. - The Sass source files, not just compiled CSS, if you plan to change colors, spacing or fonts across the whole site.
- Accessible markup: labels on every form field, menus and modals that work with a keyboard, and enough contrast after you change the colors.
- A clear license for the template, separate from Bootstrap's own.
When Bootstrap helps and when plain CSS is lighter
Bootstrap earns its place when:
- A team shares the work. Everyone uses the same documented class names, so a page written by one person is easy for the next to read.
- You need many interface components. Modals, tabs, accordions, dropdowns, toasts and form styles are ready to use and documented.
- The site will keep growing, such as documentation, a members' area or an admin panel. A Bootstrap admin template gives you tables, charts and dashboards on the same base.
- You want to prototype quickly and refine the design later.
Plain CSS is lighter when:
- The site is small. Modern CSS Grid, Flexbox and custom properties handle the layout of a five-page site without a framework. A one page website template is a good example.
- You would ship styles you never use. The full Bootstrap stylesheet covers every component. You can cut it down by compiling only the parts you need with Sass, but that needs a build step.
- Non-developers will edit the pages. Markup full of utility classes is harder to read than plain HTML.
- You want a look of your own. A Bootstrap site keeps a familiar feel unless you change the default theme.
If you like the utility-class approach but want only the CSS you use, look at Tailwind templates. Tailwind scans your files for the classes you use and generates the styles for those, but it needs a build step from the start.
Bootstrap 5 in plain words: grid, utilities, Sass and npm
The grid system. Bootstrap's grid system is a mobile-first flexbox grid with 12 columns and six tiers. The tiers are extra small, then small from 576px, medium from 768px, large from 992px, extra large from 1200px and extra extra large from 1400px. A class such as col-md-6 means "half the width from medium screens up", and full width below that.
Utility classes. These are single-purpose classes such as mt-3 for a top margin or d-flex for a flex layout. Bootstrap generates them from a Sass map through its utility API, so you can add your own utilities or remove ones you never use.
Sass. Bootstrap's source is written in Sass, a language that compiles to CSS. To restyle the whole site, you set variables such as $primary before importing Bootstrap, import only the parts you need, and compile the result with a Sass compiler. Browsers cannot read Sass directly, so this always involves a build step.
npm. Running npm install bootstrap adds Bootstrap to a project, including its Sass source. If you do not want a build step, link the compiled CSS and JavaScript files from a CDN instead. The download page lists every option.
CSS variables. Bootstrap 5.3 also exposes CSS variables such as --bs-primary and --bs-body-font-family. You can override them in your own stylesheet, loaded after Bootstrap's, to change colors and fonts without Sass.
How to set up a website from a Bootstrap template
- Download the ZIP and check which Bootstrap version it uses. The comment at the top of the Bootstrap CSS file or the
package.jsonfile says so. - Open
index.htmlin a text editor (VS Code is free) and in your browser to preview. - Replace the text, logo and images, page by page.
- Change the colors and fonts: override Bootstrap's CSS variables in your own stylesheet, or set Sass variables and recompile if the template includes its source.
- Remove what you do not use: unused sections, demo pages and scripts.
- Connect the contact form by pasting your form service's endpoint into the form's
actionattribute. - Publish it and connect your domain. Compare the options in free static website hosting. The steps in how to customize an HTML template apply to Bootstrap templates too.
If you link Bootstrap from a CDN with an integrity attribute, update that attribute whenever you change the version number, or the browser will refuse to load the file.
Premium Bootstrap templates worth paying for
If you want a large set of page layouts, a full admin dashboard or design files that match the code, compare these premium options.
Each pick lists the price, what it includes and what you would still need to set up yourself.
Prefer a website builder?
If you would rather design visually, Webflow gives you control over layout and classes without writing code. See our picks of Webflow website templates. Still deciding between a ready-made design and a custom build? Read custom website design vs template.
Related templates
- A Bootstrap admin template for dashboards, back offices and internal tools.
- Our Tailwind templates if you prefer utility classes with only the CSS you use.
- A one page website template for a small site that does not need a framework.
- Plain HTML5 and CSS3 designs in our free HTML templates.
Or browse the full free website templates library.
Frequently asked questions
Can I use Bootstrap templates for commercial sites?
Bootstrap itself is MIT licensed, so yes, as long as its license and copyright notice stay in its files. Each template has its own license on top of that. Ours are free for personal and commercial use. Check the license of any template from another source.
Do Bootstrap 5 templates need jQuery?
No. Bootstrap 5 dropped jQuery and rewrote its plugins in plain JavaScript. A version 5 template only needs jQuery if its own extra scripts use it.
Which Bootstrap version should a template use?
Bootstrap 5, preferably the latest 5.3 release. Templates on Bootstrap 3 or 4 still work, but they are older code, often depend on jQuery and will be harder to update.
Is Bootstrap or plain CSS better for a small website?
For a site of a few pages, plain CSS is usually lighter and easier to read. Bootstrap pays off when a team shares the code, when you need many interface components or when the site will keep growing.
Can I host a Bootstrap template for free?
Yes. A Bootstrap template is a folder of static HTML, CSS and JavaScript files, so you can host it free on Cloudflare Pages, Netlify or GitHub Pages. You only pay for a domain name, usually $10 to $15 a year.