Blogger Template Generator
Design a Blogger template in your colours and download a ready-to-install XML theme of 33.5 KB with no external scripts, with all 13 text colours checked against WCAG AA (4.5:1) in light and dark mode. Paste your current theme below to get a speed and SEO score out of 100 with the fix for each problem.
Audit your current Blogger theme
Blogger → Theme → More (▾) → Edit HTML, select all, copy and paste here, or open the backup .xml file. It is checked in your browser and never uploaded.
Example below: a typical older theme head.
35/100 Speed and SEO score · F
| Theme file size | 0.5 KB | Pass | |
|---|---|---|---|
| Render-blocking scripts in <head> | 2 | Fail | Add defer to external scripts in <head>, or move them to just before </body>. Each blocking script delays the first paint. |
| jQuery | Yes | Fail | Replace jQuery with plain JavaScript (document.querySelector, fetch, classList). It is about 30 KB of script most themes barely use. |
| Icon font | Yes | Improve | Swap the icon font for a few inline SVG icons; an icon font downloads hundreds of icons to show a handful. |
| External stylesheets in <head> | 2 | Improve | Each external stylesheet blocks rendering. Inline the critical CSS in <b:skin>, use system fonts or font-display: swap, and drop unused libraries. |
| Canonical links | 2 | Fail | Remove the hand-written canonical tag: the all-head-content include already prints one on every page. |
| Meta descriptions | 1 | Pass | |
| Mobile viewport | No | Fail | Add <meta content='width=device-width, initial-scale=1' name='viewport'/>: without it phones show a zoomed-out desktop page. |
| Article structured data | None | Improve | Add one BlogPosting JSON-LD block on post pages (headline, dates, author, image). |
| Thin pages kept out of search | No | Improve | Mark search and label result pages noindex, follow so Google indexes your posts, not thin lists of them. |
| Lazy-loaded images | No | Improve | Add loading='lazy' to thumbnails below the fold (never to the first image, which is usually the LCP element). |
| Blogger layouts version 3 | No | Improve | The theme uses Blogger's older layout engine. Themes on layouts version 3 get data:view, resizeImage and lighter default widgets. |
| Blogger's default widget CSS off | No | Improve | Set b:css='false' on <html> once your theme styles every widget, so Blogger stops adding its own default widget CSS. |
Advertisement
How to make a Blogger template with this generator
- Pick a brand colour. The generator builds the page, card, text, caption, border and link colours for light and dark mode, with a hint of your hue in the greys.
- Choose fonts and widths. Every font is a system font stack, so nothing extra downloads and text appears immediately.
- Add your menu and footer links as
Label | URL, one per line. Links that start with/stay on your blog. - Check the preview on a phone and a desktop, in light and dark mode, on the home page and a post.
- Read the contrast table. If a pair fails, press Fix contrast: only lightness changes, never the hue.
- Download the theme XML and install it in Blogger (steps below). The page address keeps your design, so you can come back to it.
How to install the template on Blogger
- In Blogger, open Theme in the left menu.
- Back up first: click More (the arrow at the top right), then Backup and Download.
- Open the same menu, choose Restore, click Upload and pick
tbb-lite-custom.xml. - Open Layout to check the menu, sidebar and footer widgets, and upload a logo in the Logo / blog title section if you have one.
- Later changes: Theme → Customize → Advanced lists all 18 colours, fonts and widths.
Before you restore: a new theme replaces the old design. Posts and pages are safe, but widgets in sections the new theme does not have can be removed. Keep the backup and copy any HTML widget code you need. For a blog with many custom widgets, try the theme on a spare test blog first. This tool is not affiliated with Google or Blogger.
Worked example: one brand colour, three safe colours
Links are text, so they need 4.5:1 on cards as well as on the page. The generator keeps your brand for buttons and borders and adjusts only what fails:
| Brand | Link, light mode | Link, dark mode | Button text |
|---|---|---|---|
#e5002b | #e2002b (4.55:1) | #ff1c46 (4.55:1) | #ffffff (4.80:1) |
#2563eb | #2563eb (4.78:1) | #497eef (4.56:1) | #ffffff (5.16:1) |
#16a34a | #12833c (4.58:1) | #16a34a (5.00:1) | #000000 (6.37:1) |
#f59e0b | #9f6507 (4.56:1) | #f59e0b (7.79:1) | #000000 (9.77:1) |
#ffeb3b | #807300 (4.56:1) | #ffeb3b (13.38:1) | #000000 (17.19:1) |
This check found a real problem in our own theme. In TBB Lite 1.0.0 the brand red #e5002b was also the link colour: 3.97:1 on the dark background, 3.56:1 on dark cards and 4.45:1 on light cards, all under 4.5:1. Version 1.0.1 added separate link colours, #dd002a (4.73:1) and #ff2d54 (4.70:1).
Advertisement
What the theme audit checks
Each check has a weight; a pass earns the full weight, "Improve" earns half. The score is out of 100.
| Check | Weight | Pass · Improve | Why it matters |
|---|---|---|---|
| Theme file size | 10 | ≤ 100 KB · ≤ 200 KB | Big files load slowly and are hard to maintain |
| Render-blocking scripts in <head> | 15 | 0 · 1 | Each external script without defer delays the first paint |
| jQuery | 10 | — | About 30 KB of script that is rarely needed |
| Icon font | 5 | — | Downloads hundreds of icons to show a few |
| External stylesheets in <head> | 10 | ≤ 1 · 2 | Each external stylesheet blocks rendering |
| Canonical links | 10 | 1 | One canonical URL per page |
| Meta descriptions | 5 | 1 | Your summary in search results |
| Mobile viewport | 10 | ✓ | Without it phones show the desktop version |
| Article structured data | 5 | 1 | One article entity per post |
| Thin pages kept out of search | 5 | ✓ | Label and search pages are thin lists |
| Lazy-loaded images | 5 | ✓ | Images below the fold load when needed |
| Blogger layouts version 3 | 5 | 3 | Blogger's current layout engine |
| Blogger's default widget CSS off | 5 | b:css='false' | Skips default widget CSS you do not use |
The example at the top audits this typical older theme head, which scores 35 (F). TBB Lite scores 100.
<?xml version="1.0"?><html b:version='2' xmlns:b='http://www.google.com/2005/gml/b'><head>
<b:include data='blog' name='all-head-content'/><link rel='canonical' href='x'/>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js'></script><script src='https://example.com/slider.js'></script>
<link href='https://fonts.googleapis.com/css2?family=Poppins' rel='stylesheet'/><link href='https://use.fontawesome.com/releases/v6/css/all.css' rel='stylesheet'/>
<b:skin><![CDATA[body{}]]></b:skin></head><body></body></html>
Blogger keeps one tag per b:if branch, so several canonical or description tags can still mean one per page; the audit asks you to check those instead of failing them. The only certain duplicate is a hand-written tag next to <b:include name='all-head-content'/>, because that include prints its own.
Theme Designer settings in the file
| Variable | Controls | Default |
|---|---|---|
brand.color | Brand colour | #e5002b |
brand.ink | Text on brand colour | #ffffff |
link.color | Links | #dd002a |
page.bg | Page background | #ffffff |
surface.bg | Card and header background | #f6f6f7 |
text.color | Text | #18181b |
muted.color | Dates and captions | #5b5b66 |
line.color | Borders | #e4e4e7 |
dark.bg | Dark page background | #0f0f12 |
dark.surface | Dark card background | #1b1b20 |
dark.text | Dark mode text | #ececf1 |
dark.muted | Dark mode muted text | #a1a1aa |
dark.line | Dark mode borders | #2e2e35 |
dark.link | Links | #ff2d54 |
body.font | Body font | normal 400 17px system-ui, -apple-syst… |
heading.font | Heading font | normal 700 16px system-ui, -apple-syst… |
content.width | Maximum page width | 1140px |
sidebar.width | Sidebar width | 320px |
Font choices
System font stacks use fonts already on the reader's device, so there is no font download and no flash of invisible text.
| Option | Sample | Stack |
|---|---|---|
| System sans (fastest) | Monthly budget RM2,500 | system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif |
| Humanist sans | Monthly budget RM2,500 | Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif |
| Book serif | Monthly budget RM2,500 | Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif |
| Rounded sans | Monthly budget RM2,500 | ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', Calibri, sans-serif |
| Monospace (tech blogs) | Monthly budget RM2,500 | ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace |
Sources
- Blogger Help: Use themes to change how your blog looks (Backup, Customize, Advanced)
- Blogger Help: Change the design of your blog (Layout, Edit HTML)
- Blogger Help: Customize CSS tags for layouts (Theme Designer variables)
- pipdig: How to upload the Blogger template XML file (Restore, Upload)
- W3C: Understanding SC 1.4.3 Contrast (Minimum)
- Chrome for Developers: Eliminate render-blocking resources
- Google Search Central: Consolidate duplicate URLs
- TBB Lite source code and licence on GitHub
Frequently asked questions
Is this Blogger template really free?
Yes. The generator outputs TBB Lite 1.0.1, an original theme released under CC BY 4.0: you can use and change it on personal and commercial blogs as long as the footer credit stays or you credit the author elsewhere on the blog. The file is 33.5 KB with no jQuery, web fonts or external scripts.
How do I install the downloaded template on Blogger?
First back up your current theme: in Blogger open Theme, click More (the arrow at the top right), then Backup and Download. Then use the same menu, choose Restore, click Upload and pick tbb-lite-custom.xml. Finally open Layout to check the menu, footer and sidebar widgets.
Will I lose my posts if I change the template?
No. A theme only controls the design; posts, pages, comments and labels stay where they are. Widgets in sections that the new theme does not have can be removed, so download the backup first and copy any HTML widget code you want to keep. Test on a spare blog if your current theme has many custom widgets.
Why did the generator change my link colour?
Links are text, so WCAG 2.2 AA needs 4.5:1 against every background they sit on. A bright brand colour often fails: yellow #ffeb3b on white is about 1.2:1, so the generator keeps it for buttons and borders and darkens only the link colour to #807300 (4.80:1), with #000000 button text. The hue never changes.
What does the Blogger theme audit check?
13 weighted checks that add up to 100: file size, render-blocking scripts in the head, jQuery, icon fonts, external stylesheets, duplicate canonical or meta description tags, the mobile viewport, article structured data, noindex on search and label pages, lazy-loaded images, layouts version 3 and b:css false. A typical older theme head scores 35; TBB Lite scores 100.
Is my theme uploaded when I run the audit?
No. The audit and the generator run entirely in your browser; the pasted XML never leaves your device. The only file this page downloads is the TBB Lite theme itself, from this site, to build your copy and the preview.
Can I change colours and fonts later without this tool?
Yes. All 18 settings are Blogger Theme Designer variables, so after installing open Theme, click Customize, then Advanced to change any colour, font or width. Values you chose here appear as the starting point, and the Reset button in Blogger returns them to your generated design.
Share this Blogger template generator
Advertisement