Skip to content

TTF to WOFF2 Converter

Make a TrueType font smaller and ready for @font-face.

How to convert TTF to WOFF2

Three steps, all in your browser.

  1. 1

    Add a font

    Drop a TTF, OTF, WOFF or WOFF2 file.

  2. 2

    Check the preview

    The converted font is loaded and shown with your own text.

  3. 3

    Download

    Save the font in its new format.

TTF to WOFF2 Converter: what to know

TTF (TrueType) is the font format desktop systems install, but it is uncompressed and heavy to send over the web. WOFF2 (Web Open Font Format 2) is the same font packed for browsers: its tables are compressed with Brotli and the TrueType outlines are stored in a more compact encoding, so the file is usually much smaller than the TTF. Every current version of Chrome, Edge, Firefox and Safari supports WOFF2.

This converter runs Google's reference WOFF2 encoder, compiled to WebAssembly, inside your browser. The font is never uploaded, and the result contains exactly the glyphs, metrics, kerning and OpenType features of the TTF; a browser unpacks it to an equivalent font. The converter also shows the font's family, style, version and glyph count so you can check you picked the right file.

Converting doesn't change what you're allowed to do with a font. Fonts under open licenses such as the SIL Open Font License can be self-hosted freely, while many commercial fonts need a web license. Font collections (.ttc) aren't supported; convert the individual fonts.

Popular uses

  • Self-hosting fonts instead of loading them from a third-party font service
  • Cutting font weight from a website to improve page speed
  • Preparing fonts for an app or e-book that loads WOFF2

Tips for the best result

  • Reference it in CSS with @font-face { font-family: "My Font"; src: url("/fonts/my-font.woff2") format("woff2"); font-display: swap; }.
  • Add one @font-face rule per weight and style, with font-weight and font-style set to match.
  • Preload the font used above the fold with <link rel="preload" as="font" type="font/woff2" crossorigin>.
  • Serve the file with the font/woff2 content type and a long cache lifetime.

Read how JustYourConvert works and our privacy details. Keep your original files and check a converted file before you replace anything.

Frequently asked questions

It depends on the font, but WOFF2 files are often around half the size of the TTF or less, because WOFF2 uses Brotli compression and stores the glyph outlines in a more compact form. The glyphs, metrics and features are the same once a browser unpacks it.

For current browsers, no: Chrome, Edge, Firefox and Safari all support WOFF2, so a single WOFF2 source in @font-face is enough. Add a WOFF fallback only if you must support very old browsers such as Internet Explorer.

That depends on the font's license, not on the tool. Open-source fonts such as those under the SIL Open Font License can be converted and self-hosted freely. Commercial fonts often need a separate web license, so check the license that came with the font before using it on a website.

No. Every live tool on JustYourConvert opens and converts your files inside your browser, on your own device. Nothing is sent to our servers, and the result is saved straight from your browser.

Yes. Every tool is free, with no sign-up, no watermark and no daily limit. Clearly labeled ads keep it that way.

Only your device's memory. Because the work happens in your browser, very large files can be slow on phones and older computers. Each tool says its practical limit under the drop area.