FONTS & COLORS

How to download fonts from a website

Paste the link into a free asset extractor to list the font files a page loads, or save them from the DevTools Network panel. Then check the license.

“Get the font files a page loads.” A large Aa specimen in a browser window leads out to Sans-Regular.woff2, Sans-Bold.woff2 and Display.ttf, with a note to check the license.
The WOFF2 and TTF files behind a page’s text.

In short

  • Websites load fonts as WOFF2 files, sometimes WOFF, TTF or OTF
  • WOFF2 is for browsers: convert it to TTF to install it on a computer
  • One font is often several files: a weight, a style or a language each
  • Having the file isn’t a license: most commercial fonts need one from the foundry
On this page8
  1. Step by step
  2. Web font formats
  3. What the asset extractor finds
  4. Where the font comes from
  5. Convert WOFF2 to TTF
  6. Find font files in DevTools
  7. Is it legal to download a website’s fonts?
  8. Questions

Step by step

  1. Name the font first

    Not sure which font it is? The free font finder names every font on the page and where to get it.

  2. Paste the link

    Paste the page’s link into the free asset extractor and open the Fonts tab. Each card previews the font itself.

  3. Download the files

    Download one font, or press ZIP for all of them. Names come from the file, so you may see hashes.

  4. Convert and check

    Turn WOFF2 into TTF for desktop apps, then read the license notes inside the file.

Web font formats

Font files websites load, and where they work
FormatWhat it isInstall on a computer?
WOFF2Compressed web font, used by almost every site todayNo, convert to TTF first
WOFFThe older compressed web fontNo, convert to TTF first
TTF and OTFDesktop font files that some sites still serveYes
Variable fontOne file with a range of weights, often “VF” in the nameYes, once it is TTF
Website font finder in the Sitepeel interface
Website font finder in actionExplore the tool

What the asset extractor finds

It lists the font files the page really loaded, not every @font-face rule in its stylesheets, and previews each one as “Aa”. On Vercel, GitHub, Stripe and Smashing Magazine every listed font downloaded as a valid WOFF2 file.

The free asset extractor on vercel.com: the 7 font files the page loaded, each previewed in its own font.

Where the font comes from

Font sources and what to do for each
SourceHow to spot itWhat to do
Google FontsFiles from fonts.gstatic.comGet the whole family free from fonts.google.com
Adobe FontsFiles from use.typekit.netUse it through an Adobe Fonts plan, not the site’s files
Self-hostedFiles on the site’s own domain or CDNFind the foundry and buy a license, or use a free look-alike
Custom brand fontA name you can’t find anywhereMade for that company: pick a similar free font

Convert WOFF2 to TTF

Browsers read WOFF2, but Windows and macOS install TTF or OTF. Convert the file with fontTools, a free Python library, then install the TTF: right-click it and choose Install on Windows, or double-click it and press Install on a Mac.

convert.shText
pip install fonttools brotli
fonttools ttLib.woff2 decompress -o Font.ttf Font.woff2

Find font files in DevTools

  • Open DevTools, go to Network, choose the Font filter and reload.
  • Each row is a font file the page loaded; the name often hints at the weight.
  • Right-click a row and choose Open in new tab to download it.
  • To see which file draws some text, Inspect it and check Rendered Fonts in the Computed tab.

Is it legal to download a website’s fonts?

Your browser already downloaded the file; using it is what needs a license. Fonts under the SIL Open Font License, like most Google Fonts, are free to use. Commercial fonts need a license from their foundry, and a web license rarely covers installing them on a computer.

Questions

How can I extract and save fonts from a website?

Paste the link into a free asset extractor and download the files from its Fonts tab. Or open DevTools, go to Network, choose the Font filter, reload, and open each file in a new tab.

Is downloading fonts illegal?

Downloading the file is rarely the problem; using it without a license is. Open fonts, like those on Google Fonts, are free to use. Commercial fonts need a license from the foundry, even when a website let your browser load them.

How do I install a font I just downloaded?

Computers install TTF or OTF, so convert a WOFF2 file first. On Windows, right-click the file and choose Install. On a Mac, double-click it and press Install in Font Book.

How do I convert WOFF2 to TTF?

Install fontTools with pip install fonttools brotli, then run fonttools ttLib.woff2 decompress -o Font.ttf Font.woff2. Online converters do the same, but only upload fonts you’re allowed to share.

Why are there several files for one font?

Each weight and style can be its own file, and sites split fonts into language subsets. A variable font is the exception: one file holds a whole range of weights.

TAKE A CLOSER LOOK

Your next starting point is already on the web.

Inspect it. Understand it. Build something of your own.

Add to ChromeFree installTry the free tools