---
title: "Discussion on \"Reduce Google Fonts file size by more than 80%\" | Hashnode"
description: "Discussion on \"Reduce Google Fonts file size by more than 80%\". Sometimes we only need a font for a couple of words, like a logo or slogan. Why do we download the whole font file if we only need a few letters?\nIn this post, I'll show you how you can reduce your font file size by more than 80%. This size reduction..."
url: "https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reduce Google Fonts file size by more than 80%](https://blog.davidojeda.dev/reduce-google-fonts-file-size-by-more-than-80-percent?utm_source=hashnode&utm_medium=feed)

Sometimes we only need a font for a couple of words, like a logo or slogan. Why do we download the whole font file if we only need a few letters? In this post, I'll show you how you can reduce your font file size by more than 80%. This size reduction...

Oct 1, 2020 · 2 min read · blog.davidojeda.dev  
Read the article

-   [#web-performance](https://hashnode.com/tag/web-performance)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[David Ojeda](https://hashnode.com/@david_ojeda)

@david\_ojeda · Mexico

  
[View profile](https://hashnode.com/@david_ojeda)

Problem solver - Web and AWS developer

I love the web 🕸 I also write about personal finance in Spanish at https://perrodinero.blog

## Responses 7

Markdown supported · ⌘↵ to post

[Shannon Crabill](https://hashnode.com/@shannoncrabill)

[Oct 3, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f78089b9c3b6e41012162f6)

I was just picking out custom fonts for a project. I'll try this update next time I'm working on it.

[Kishore](https://hashnode.com/@tealpod)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75e14537eb052c1b80d7c5)

This is one of the best hack I read.

[Damien Guard](https://hashnode.com/@damieng)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75c9a437eb052c1b80d4c9)

For popular fonts this will likely be slower and use more network access.

If they have already visited a site that uses the font you use by putting ?text= on the end you're forcing the browser to go off to Google to get your subset even though the full font file is sitting their in their browsers disk cache.

[Damien Guard](https://hashnode.com/@damieng)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75c9a437eb052c1b80d4c9#reply-5f765373b7a1d82bf9b352ef)

[David Ojeda](https://hashnode.com/@david_ojeda) The cache is no longer shared between origins so there is literally no benefit to serving up from googlewebfonts, bootstrapcdn etc. any more.

If you have your own private CDN like Amazon CloudFront you may as well just copy the assets there now and be in full control.

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75c9a437eb052c1b80d4c9#reply-5f76556fb7a1d82bf9b35313)

[NostraDavid](https://hashnode.com/@NostraDavid) Understood!

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75c9a437eb052c1b80d4c9#reply-5f765595b7a1d82bf9b35319)

[Damien Guard](https://hashnode.com/@damieng) Got it. Good to know!

[Julian Wagner](https://hashnode.com/@JWPapi)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f759e3b37eb052c1b80d195)

Lovely. I want to add that you can do the same thing with fonts you have bought somewhere else with a free tool like fontforge. I recommend this to everyone who has a high-traffic landing page. It’s pure money!

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f759e3b37eb052c1b80d195#reply-5f75e315b7a1d82bf9b34b84)

Thanks for the extra tip!

[Kobi Kobsen](https://hashnode.com/@kobikobsen)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f759b17d192912aaf78fa0e)

Nice, but I´d make an SVG if it is only for some letters.

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f759b17d192912aaf78fa0e#reply-5f75e1d037eb052c1b80d7e4)

That can work too!

[Sandeep Panda](https://hashnode.com/@sandeep)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75728c9e97481f107703c7)

Wow! Awesome tip. Added to my TIL. 🙌

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f75728c9e97481f107703c7#reply-5f75e32db7a1d82bf9b34b8e)

Thanks! Glad you learned something with my post 🙌🏼

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f7559149e97481f10770298)

[David Ojeda](https://hashnode.com/@david_ojeda), This is a great tip. Thanks for the write-up.

[David Ojeda](https://hashnode.com/@david_ojeda)

[Oct 1, 2020](https://hashnode.com/posts/reduce-google-fonts-file-size-by-more-than-80-percent/5f75580ab48bd01f31660c18/comment/5f7559149e97481f10770298#reply-5f7559ba9e97481f107702a5)

Thanks to you for the Bootcamp session, Tapas!
