Convert ttf to woff2

Free online TTF to WOFF2 converter

Convert TrueType fonts to compact WOFF2 files for browser-based webfont delivery.

Convert TTF to WOFF2 online - free

Uploading…
Selected files exceed the 30 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and deleted as soon as you download it.

How it works

  1. 1/3

    Upload your .ttf file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .ttf to .woff2 conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .woff2 file

    Conversion result is ready to download.

How to convert ttf to woff2 file

  • Fonts

Websites often receive fonts as TTF files but need WOFF2 for browser delivery. Converting the font reduces download size and lets CSS load it efficiently without changing the typeface's intended outlines.

What the TTF format is

TTF, or TrueType Font, is a font file format that stores glyph outlines, spacing, naming information, and font metrics. Operating systems use TTF files to install fonts for word processors, design applications, browsers, and publishing software.

Font editors such as FontForge, Glyphs, FontLab, and Birdfont can create or export TTF files. Commercial typefaces, open-source font projects, office documents, and design assets commonly include them. Some OpenType fonts use TrueType outlines and use the .ttf extension.

What the WOFF2 format is

WOFF2 is a webfont container intended for delivery through browsers. It compresses font data with Brotli and applies specialized transformations to some font tables, usually producing a much smaller file than the equivalent TTF.

Use WOFF2 with CSS @font-face rules. Its smaller transfer size reduces bandwidth and download time, and current desktop and mobile browsers support it. WOFF2 is a delivery format rather than an editable master format, so retain the original TTF or source project for future changes.

How to convert TTF to WOFF2

Using the WOFF2 command-line tools

  1. Install or build the WOFF2 utilities for your operating system. The package includes the woff2_compress executable.
  2. Put the source file in a working directory and run woff2_compress MyFont.ttf.
  3. The utility normally creates MyFont.woff2 in the same directory.

This performs a direct conversion and does not deliberately remove characters. Test the output in a browser or inspect it with a font tool before publishing.

Using FontTools

Install FontTools and its Brotli support with python -m pip install fonttools brotli. Then run fonttools ttLib.woff2 compress MyFont.ttf; the command normally writes MyFont.woff2 beside the source file.

For a smaller web-specific font, use FontTools' subsetting command deliberately:

pyftsubset MyFont.ttf --flavor=woff2 --output-file=MyFont.woff2 --unicodes=U+0000-00FF

Subsetting removes glyphs outside the selected ranges. Add every required accented character, symbol, and writing system, or convert the complete TTF instead.

Using the built-in online converter

You can convert the file on 101convert.com for free without installing software: upload the TTF, choose WOFF2 as the output format, start the conversion, and download the result. Check the font license and the service's file-handling terms before uploading a font that is not licensed for third-party processing.

Referencing the result in CSS

Place the generated file in the website's font directory and reference it with the WOFF2 format and MIME type:

@font-face {
  font-family: 'My Font';
  src: url('/fonts/MyFont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

Configure the server to send WOFF2 files as font/woff2. If the font is served from another origin, configure an appropriate CORS policy.

Quality and compatibility limits

Standard conversion preserves the font's rendering data, but the WOFF2 file is compressed and may not be accepted by every font editor. Keep the original TTF, variable-font source, or authoring project; do not use WOFF2 as the only archival copy.

Modern browsers support WOFF2, but Internet Explorer and other legacy clients do not. If those clients are required, provide a WOFF or TTF fallback after the WOFF2 source in the same @font-face rule and test the target browsers.

Conversion does not grant permission to embed or redistribute a font. Confirm that its license permits web use and preserve required copyright and license metadata.

TTF vs WOFF2: format comparison

How the TTF and WOFF2 formats compare on the properties that matter most for this conversion.

Comparison of the TTF and WOFF2 file formats
Property .TTF TrueType Font .WOFF2 Web Open Font Format 2
Outline type TrueType outlines Both
Hinting Yes —
Ready for web fonts Yes Yes
Variable font No Yes
Embedding in documents Yes Yes
Operating system support Wide Limited
Typical file size Small Very small
Open standard Yes Yes
Introduced 1991 2014
Developer Apple Inc. (originally developed for Macintosh; later widely adopted by Microsoft and others) Google
MIME type font/ttf font/woff2

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the TTF to WOFF2 converter free?

Yes, converting TTF to WOFF2 on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my TTF file be?

You can upload TTF files up to 150 MB and convert up to 100 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert TTF to WOFF2?

No. The TTF to WOFF2 conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid TTF file for this TTF to WOFF2 conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.