Skip to content
HTML Templates For Developers

Documentation

Certify — Certificate Generator UI

Version 1.0.0 · Vanilla HTML · 15 files · 222 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 15 files:

  • LICENSE.txt1.9 KB
  • README.md2.8 KB
  • assets/css/style.css20 KB
  • assets/fonts/caveat-LICENSE.txt4.3 KB
  • assets/fonts/caveat-latin-wght-normal.woff273 KB
  • assets/fonts/eb-garamond-LICENSE.txt4.4 KB
  • assets/fonts/eb-garamond-latin-wght-italic.woff247 KB
  • assets/fonts/eb-garamond-latin-wght-normal.woff243 KB
  • assets/fonts/mulish-LICENSE.txt4.4 KB
  • assets/fonts/mulish-latin-wght-normal.woff229 KB
  • assets/images/favicon.svg442 B
  • assets/js/main.js15 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html13 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --color-parchment#faf7f0
  • --color-parchment-deep#f1ebdc
  • --color-slate#1e293b
  • --color-slate-soft#475569
  • --color-line#ddd5c0
  • --color-surface#ffffff
  • --color-danger#b42318
  • --color-focus#8a5a00
  • --accent#ca8a04
  • --accent-ink#92600a
  • --accent-light#e9c46a
  • --accent-dark#8a5e03

Interactive features

Designs and accent colours

Designs are generated in assets/js/main.js (the DECO object and certificateHtml) and styled by .cert[data-design] rules in style.css. Accent colours are [data-accent] blocks of custom properties at the top of the certificate section.

Batch mode

Switch to Batch mode and enter one name per line. MAX_NAMES in main.js sets the limit (200). Load sample names fills the list with twelve invented names.

Certificate ID

randomId() in main.js creates IDs such as CRT-2026-4F7K2Q. Edit its prefix, or type your own ID in the field; batch certificates append -001, -002 and so on.

Print / Save as PDF

The button validates the form, rebuilds the hidden print stack and calls window.print(). Choose Save as PDF and set margins to None.

Paper size

The paper select sets the preview ratio and writes an @page rule for A4 or Letter landscape.

Customisation notes

Edit the default wording

The sample recipient, award text, organisation and signatory are the values in the state object at the top of assets/js/main.js. The certificate title options are the entries in the select in index.html.

Add a design

Add an entry to DECO in main.js, a radio input named design in index.html and a .cert[data-design="yourname"] block in style.css. Position the seal and ID with cqw units so it scales with the sheet.

Add an accent colour

Add a [data-accent="name"] block in style.css that sets --accent, --accent-ink, --accent-light and --accent-dark, then a radio input in index.html.

Printing tips

Use landscape, margins None and background graphics on. Batch printing produces one page per name, so check the page count in the print dialog.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • The generator is a front-end form: nothing is saved, uploaded or sent, and certificate IDs are random strings, not registered anywhere. Reloading restores the sample certificate.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Caveat typeface — OFL-1.1 (assets/fonts/caveat-LICENSE.txt)
  • EB Garamond typeface — OFL-1.1 (assets/fonts/eb-garamond-LICENSE.txt)
  • Mulish typeface — OFL-1.1 (assets/fonts/mulish-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.