Smaller files for your website
WOFF2 compresses fonts for the web. Removing unused characters can reduce file size further, or you can keep every character for more flexibility.
Convert TTF, OTF, WOFF and WOFF2 fonts for your website
Upload TTF, OTF, WOFF or WOFF2 font files, choose the characters to include, and download WOFF2 fonts with ready-to-use CSS and an editable preview—all in one ZIP.
Upload one font or several different fonts together. You can also include styles such as bold and italic.
Download the ZIP with your fonts, CSS and demo page. This download is temporary, so save it now.
Compare each generated file with its uploaded source. A negative size reduction means the selected output contains more bytes than that source.
Open demo.html after downloading and try your website text before publishing. Keep fonts.css and the fonts folder together.
Webfont essentials
A webfont is a font file made for websites. This free online generator converts your TTF, OTF, WOFF or WOFF2 files to WOFF2, with optional WOFF files, and includes the CSS you need to use them.
WOFF2 compresses fonts for the web. Removing unused characters can reduce file size further, or you can keep every character for more flexibility.
Subsetting means keeping only some of a font’s characters, such as the letters and symbols your website uses. It does not add missing characters. If you are unsure, choose “Keep all characters”.
The generated fonts.css is already matched to your font files. Keep it with the fonts folder and link the stylesheet from your website.
Upload TTF, OTF, WOFF or WOFF2 files—one font or a mix of different fonts. Download WOFF2 files, plus WOFF if selected, in one ZIP with CSS and a demo page.
Use “Balanced” for most websites. Choose “Smallest files” when every kilobyte matters and test small text carefully. Choose “Keep everything” for complex typography or when exact original rendering matters.
Use language groups for a quick starting point, or Unicode ranges to pick specific character blocks. “Only my text” suits a heading or fixed phrase. Choose “Keep all characters” if your content may change or you are unsure. No option can add characters missing from the original font.
No. The webfont generator creates a download for you; it does not submit your uploaded fonts to the Fonts2u catalogue.