This guide explains how to use Font Display Swap Checker, step by step, with screenshots of the real tool. It is written for site owners who want faster pages and better Core Web Vitals. Paste your Google Fonts link and get an optimized version with display=swap, preconnect hints and only the weights you need.
Quick answer: To use the Google Fonts Optimizer, open the free tool, paste the input and enter the keep weights, then use the output. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Google Fonts Optimizer?
Add display swap, preconnect and trim font weights to speed up text rendering and Core Web Vitals. It is also known as a font display swap checker tool.
Each font weight is an extra download. Use 2 or 3 weights, add display=swap and preconnect to fonts.gstatic.com.
How to use Font Display Swap Checker step by step
-
Step 1: Open the Google Fonts Optimizer
Go to the Google Fonts Optimizer on hasnainsanmal.com, our free font display swap checker tool. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Paste Input
Paste or type your text into Input. The example starts with: <link….
-
Step 3: Enter Keep weights
In the Keep weights (comma) box, type your own figure. The example uses 400,700, which you can replace.
-
Step 4: Read the results
The output appears inside the tool card. Change any input to compare different scenarios.

Screenshot of the Google Fonts Optimizer results. -
Step 5: Copy or download the output
Use Copy to take the result into your document, CMS, spreadsheet or report.
What does each field in the Google Fonts Optimizer mean?
| Field | What to enter | Example |
|---|---|---|
| Input | Text, one item per line where asked | <link… |
| Keep weights (comma) | Your text | 400,700 |
What does a worked example look like?
With the example inputs (Keep weights (comma): 400,700), the Google Fonts Optimizer returns: <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css, 2?family=Inter:wght@400;700&display=swap"…
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Google Fonts Optimizer?
- Resize images to the width they are displayed at.
- Test the page again with PageSpeed Insights after changes.
Bookmark this font display swap checker guide so you can repeat the steps quickly. For background, read the Google guide to Core Web Vitals. If you are working on a related task, our guide on how to use the CDN URL Rewriter walks through it the same way. You can also browse all free Image and Page Speed Tools.
What mistakes should you avoid with the Google Fonts Optimizer?
- Compressing images so hard that they look blurry.
- Uploading huge images and letting the browser shrink them.
- Lazy loading the main hero image, which slows Largest Contentful Paint.
Key terms
- Core Web Vitals
- Google metrics for real user experience: Largest Contentful Paint for loading, Interaction to Next Paint for responsiveness and Cumulative Layout Shift for visual stability. Good thresholds are 2.5 seconds, 200 milliseconds and 0.1.
- Character count
- The number of letters, numbers, spaces and symbols in a piece of text. Many platforms set limits by characters, such as title tags, meta descriptions and social posts, so counting before publishing avoids truncation.
- Search engine optimisation
- The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.
- Browser based tool
- A tool that runs entirely in your web browser with JavaScript, so the data you enter is processed on your own device. It works instantly without sign up, but it cannot fetch other websites because of browser security rules.
Related free tools
Frequently asked questions
Is the Google Fonts Optimizer free to use?
Yes. The Google Fonts Optimizer is a completely free font display swap checker tool, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Google Fonts Optimizer?
No. The Google Fonts Optimizer runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Google Fonts Optimizer?
It follows standard rules and best practice. Check the output in the place you will use it before relying on it.
Does the Google Fonts Optimizer work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Google Fonts Optimizer on a phone, tablet or computer in any modern browser.
Can I use the Google Fonts Optimizer for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Google Fonts Optimizer?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Google Fonts Optimizer on 2 November 2026. Further reading: Google image SEO best practices.




