Template collection

Free HTML Templates

These free HTML templates are complete websites written in plain HTML5 and CSS3, with a little JavaScript only where it helps. There is no framework to install, no build step and no page builder. You open a file in a text editor, change the words and images, and upload the folder. Every design is responsive, so the same files adapt to phones, tablets and desktops. You own the files, so there is no monthly fee for the site itself, and you can host them free.

Affiliate disclosure: some links on this page earn us a commission at no cost to you. How we make money.

On this pagePick your route before you pick a design
  1. Pick your route before you pick a design
  2. Free HTML templates
  3. What should a good HTML template include?
  4. HTML5, CSS3 and responsive design in plain words
  5. Check the license before you use a free template from elsewhere
  6. How to set up a website from an HTML template
  7. Premium HTML templates worth paying for
  8. Prefer a website builder?
  9. HTML templates by type
  10. Frequently asked questions

Pick your route before you pick a design

Route Cost Best for
HTML template from this page Free download; free hosting on Cloudflare Pages, Netlify or GitHub Pages; domain about $10 to $15 a year People who want a fast site they own and can edit in any text editor
A template built on a framework (Bootstrap, Tailwind, React) Often free; premium versions cost more Developers who already work with that framework and want its components
General website builders (Wix, Squarespace) Monthly plan People who want a visual editor and never want to open a file

Plain HTML is the most portable choice. Any web host can serve it, any text editor can open it, and nothing needs updating to keep it running. If you outgrow it, your text and images can move to a builder or a framework later.

Free HTML templates

Keystone

Agent site with featured listings, area search, a home valuation form, listing pages with a mortgage estimate, and neighborhood guides.

  • 3 pages: home, listing, neighborhood
  • Serif headings, deep green and gold
  • 938 KB ZIP

Folio

Portfolio with a filterable project grid, about and services, a contact form with budget, and a case study page.

  • 2 pages: home, case study
  • Bold display type, warm off-white
  • 407 KB ZIP

Aperture

Dark, image-first photographer site with collections, session prices, an inquiry form with date, and a filterable gallery with a full-screen lightbox.

  • 2 pages: home, gallery
  • Dark, full-bleed photos, elegant serif
  • 1103 KB ZIP

Every one of our own templates in the grid, including Vows for weddings, Keystone for real estate and Folio for portfolios, is plain HTML5 and CSS3 with no framework. Each has a live demo you can open on your phone before you download.

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.

What should a good HTML template include?

Semantic markup, a viewport meta tag, a stylesheet you can edit in one place and a license file. Use this checklist when you compare templates.

  1. Semantic HTML5 structure: header, nav, main and footer elements, and headings in order. Screen readers and search engines use this structure to understand the page.
  2. A viewport meta tag in the head of every page, so phones show the layout at their real width.
  3. One stylesheet with the colors and fonts at the top, set as CSS custom properties, so changing your brand color is a single edit.
  4. A flexible layout built with CSS Grid, Flexbox and media queries instead of fixed pixel widths.
  5. Images with a width, height and alt text, and lazy loading for images below the first screen.
  6. Comments in the code that mark every spot you are meant to edit.
  7. Forms that work on a static host, by sending submissions to a form service instead of a server script.
  8. A license file in the ZIP, so you know what you are allowed to do.

HTML5, CSS3 and responsive design in plain words

HTML5 is the name most people use for modern HTML, the language that holds a page's content and structure. Today the WHATWG maintains it as the HTML Living Standard, which is why you will not see an "HTML6". A template described as HTML5 uses the current elements for layout, media and forms.

CSS3 is the same idea for styling: the modern set of CSS features, such as Flexbox, Grid, custom properties and media queries. These now do most of the layout work that once needed a framework.

Responsive web design means one set of files that changes its layout to fit the screen, rather than a separate mobile site. Two things make it work. Media queries switch the layout at set widths, for example from three columns to one. The viewport meta tag tells phones to use their real screen width. Without that tag, many mobile browsers draw the page as if the screen were much wider and then shrink it. Your media queries never switch, and the text ends up tiny.

To check a template yourself, open it in a desktop browser and drag the window narrow. Text should stay readable, nothing should spill off the side and the menu should change to fit. Then paste the page into the free W3C Markup Validation Service to catch missing tags and typos.

Check the license before you use a free template from elsewhere

"Free" can mean several licenses. Before you build a business or client site on a template from another source, open the license file in the ZIP and read the template's page. Answer three questions: can you use it commercially, do you have to keep a credit, and may you change it and publish the result?

  • MIT License: you may use, change and sell the work, as long as the copyright notice and license text stay with every copy. For a template, keep the license file and any license comment at the top of the CSS and JavaScript files.
  • Creative Commons licenses with BY require you to credit the creator. Check how the designer wants to be credited, such as a link in the footer, and leave it in place.
  • NC (NonCommercial) versions do not allow commercial use, which rules out a business site or paid client work.
  • ND (NoDerivatives) versions do not let you distribute a modified version, and a template you have edited and published is a modified version.
  • CC0 gives up the creator's rights as far as the law allows. You do not have to give credit, though it is still a kind thing to do.
  • A site's own license may add its own terms, such as a credit link you pay to remove. Read it before you rely on it.

Check the extras too. Photos, icons and fonts in a demo can come with separate licenses, and some are there for the preview only. Replace anything you are not sure about with your own images or openly licensed ones.

How to set up a website from an HTML template

  1. Download the ZIP, unzip it and open index.html in a text editor (VS Code is free). Open the same file in your browser to preview your changes.
  2. Replace the text, logo and images. Comments in each file mark every spot to edit.
  3. Set your colors and fonts in the custom properties at the top of the stylesheet.
  4. Add pages by copying an existing HTML file, then update the menu links on every page so they all match.
  5. Connect the contact form by pasting your form service's endpoint into the form's action attribute.
  6. Check it: drag the browser window narrow, run the validator and click every link.
  7. Publish it on Cloudflare Pages, Netlify or GitHub Pages, then connect your domain. Compare the options in free static website hosting, and see how to customize an HTML template for each step in detail.

Premium HTML templates worth paying for

If you want dozens of page layouts, ready-made sections for every industry or design files to match, 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 not edit files, a website builder gets you there without code, for a monthly fee. If you or your designer like to plan in a design tool first, a Figma website template lets you settle the look before anyone writes HTML. Still deciding between a ready-made design and a custom build? Read custom website design vs template.

HTML templates by type

  • A basic HTML template for a simple site of a few pages, and the easiest way to learn how a website fits together.
  • A blank website template with the structure in place and almost no styling, for when you want to design from scratch.
  • Templates with motion: animated website templates with transitions and scroll effects. Look for ones that turn motion off for visitors who prefer less of it.
  • An extra dimension: 3D website templates with depth effects or interactive models. They can be heavy, so check how fast the demo loads on a phone.
  • Something nostalgic: retro website templates with pixel fonts, bold colors and an early-web look.
  • One focused page: landing page templates for a single offer, campaign or product launch.
  • Built with components: React website templates if you work in JavaScript and want a framework underneath.

Or browse the full free website templates library, sorted by industry.

Frequently asked questions

Are these free HTML templates really free?

Yes. Our own templates are free to download and use for personal and commercial projects, including sites you build for clients. We appreciate a credit link, but it is optional. Templates by other designers use their own license, shown on each template page.

What is the difference between an HTML and an HTML5 template?

Today, very little. HTML5 is the common name for modern HTML, so most templates described as HTML5 use current elements and features. Be wary of templates that still use tables for layout or fixed widths, which are signs of an older design that will not adapt well to phones.

Do I need to know how to code to use an HTML template?

No. You edit text and swap images in a text editor, guided by comments in the files. If you can edit a document and rename files, you can set one up in an afternoon. Learning a few HTML tags along the way makes later changes quicker.

Can I use a free HTML template for a business or client site?

Yes, if the license allows commercial use. Ours does. For templates from other sources, check the license first. MIT and Creative Commons BY allow it with the notice or credit kept, while NonCommercial licenses do not.

Can I host an HTML template for free?

Yes. An HTML template is a folder of static 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.

See every collection