Self-host any free font: WOFF2 files + @font-face CSS
Pick a free font, choose weights and subsets, and get WOFF2 files, ready-to-paste @font-face CSS and a fallback that prevents layout shift. Everything runs in your browser: OFL fonts are fetched straight from Google Fonts and zipped on your device, and nothing passes through our servers.
- AlegreyaZIP
- AleoZIP
- Alex BrushZIP
- AlmendraZIP
- Anek LatinZIP
- AntonZIP
- ArvoZIP
- AverageZIP
Licence: OFL-1.1 · ZIP available
Inter is a free alternative to ABC Diatype, Acumin and Acumin Pro.
Free, runs in your browser, we don't store anything you enter.
How it works
- Pick one of 189 free fonts and the weights you actually use.
- For the 166 OFL fonts on Google Fonts, choose subsets and download a ZIP with the WOFF2 files, fonts.css and OFL.txt.
- Upload the files to your site, paste the CSS, and add the preload and fallback lines.
Why self-host your fonts
Loading fonts from your own domain removes a connection to a third-party server, so the browser can start downloading font files as soon as it reads your CSS. It also keeps visitor IP addresses away from the font provider, which is why some European sites moved off the Google Fonts CDN after a 2022 Munich court ruling.
Only ship what you use. Each weight and style is a separate file, and Google splits
every font into subsets by script (latin, latin-ext, cyrillic, greek, vietnamese). The
unicode-range lines in the generated CSS tell the browser to download a
subset only when the page contains those characters, so keeping extra subsets costs
little. Each weight you add does cost a download. Variable fonts use one file for a
whole weight range, and the kit merges those so each file appears once.
font-display: swap shows text immediately in a fallback font and swaps
when the web font arrives. The swap moves text unless the fallback has the same
metrics, so the kit adds a metric-matched fallback (size-adjust,
ascent-override, descent-override,
line-gap-override) for every font we have measured. Use
optional if you'd rather keep the fallback than shift layout on slow
connections.
Licences matter when you copy font files. The SIL Open Font License lets you host and redistribute fonts as long as the licence travels with them, so the kit includes OFL.txt. Fonts under other licences are linked to their official source instead. See the font licence guide for what each licence allows.
For more on why the shared cache no longer helps, and how Google Fonts affects LCP and CLS, see Arjen Karel's Self host Google fonts for better Core Web Vitals.
FAQ
Can I self-host Google Fonts?
Yes. Fonts on Google Fonts use open licences, most of them the SIL Open Font License, which allows you to host the files on your own server. Keep the licence file with the fonts. Self-hosting also avoids a third-party request to Google on every page view.
Why is there no ZIP for Satoshi and some other fonts?
We only repackage fonts under the SIL Open Font License. Satoshi and the other Fontshare fonts use the ITF Free Font License, and some fonts use Apache, UFL or GPL licences. For those, the tool gives you the CSS and a link to the official download, so you get the files from their source.
Do I still need WOFF or TTF files?
No, not for websites. Every current browser supports WOFF2, which is also the smallest format. The kit contains WOFF2 only.
What does the fallback block do?
It defines a local system font (such as Arial) resized with size-adjust and ascent, descent and line-gap overrides so it takes up the same space as the web font. When the web font loads, text doesn't jump, which keeps Cumulative Layout Shift (CLS) low. The numbers come from our measurements of each font.
Related tools
Free Twins: one premium font and its best free lookalikes, every Thursday.
Get the free font substitution kit now
Confirm by email and the kit is yours.
We'll email you a link to confirm. Unsubscribe in one click. No spam, no selling your address. Privacy