New: 500+ free SEO and AI search tools, no sign-up.Explore tools →

How to Use the Resource Hints Generator (Step by Step Guide)

By Hasnain Sanmal
Resource Hints Generator: how to fill in the tool

This guide explains how to use Resource Hints Generator, step by step, with screenshots of the real tool. It is written for site owners who want faster pages and better Core Web Vitals. Generate preload, preconnect, dns-prefetch, prefetch and fetchpriority tags for fonts, LCP images, scripts and third-party domains.

Quick answer: To use the Resource Hints Generator, open the free tool, paste the resources, then copy the text it creates. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server. The example values show how each field works before you add your own.

how to use Resource Hints Generator: Resource Hints Generator with example inputs
Screenshot of the live Resource Hints Generator with its example values.

What is the Resource Hints Generator?

Create preload, preconnect, dns-prefetch and prefetch link tags with fetchpriority for faster LCP and Core Web Vitals.

How to use Resource Hints Generator step by step

  1. Step 1: Open the Resource Hints Generator

    Go to the Resource Hints Generator on hasnainsanmal.com. 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.

  2. Step 2: Paste Resources

    Paste or type your text into Resources (one URL per line). The example starts with: https://fonts.googleapis.com….

  3. Step 3: Read the results

    The output appears inside the tool card. Change any input to compare different scenarios.

    Resource Hints Generator results example
    Screenshot of the Resource Hints Generator results.
  4. Step 4: Copy or download the output

    Use Copy to take the result into your document, CMS, spreadsheet or report.

What does each field in the Resource Hints Generator mean?

Field What to enter Example
Resources Text, one item per line where asked https://fonts.googleapis.com…

What does a worked example look like?

With the example input already in the tool, the Resource Hints Generator returns: <link rel="preconnect" href="https://fonts.googleapis.com" crossorigin> <link rel="dns-prefetch" href="https://fonts.googleapis.com"> <link rel="preload" href="https://fonts.gstatic.com/s/inter/v13/inter.woff, 2"…

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 Resource Hints Generator?

  • preconnect: third-party origins needed early, like font hosts. Use for 2 to 4 domains at most.
  • dns-prefetch: cheaper hint for other third parties.
  • preload: your LCP image and key fonts.
  • Resize images to the width they are displayed at.
  • Test the page again with PageSpeed Insights after changes.

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 Responsive Image Srcset Generator walks through it the same way. You can also browse all free Image and Page Speed Tools.

What mistakes should you avoid with the Resource Hints Generator?

  • 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

WebP
A modern image format from Google that usually produces smaller files than JPG or PNG at similar quality, and supports transparency. All current browsers support it, which makes it a good default for website images.
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 Resource Hints Generator free to use?

Yes. The Resource Hints Generator is completely free, 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 Resource Hints Generator?

No. The Resource Hints Generator 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 Resource Hints Generator?

It creates a solid first draft from your inputs. Always review and edit the output so it is accurate, specific and sounds like you before you publish or send it.

Does the Resource Hints Generator work on a phone?

Yes. The tool is built for screens from 360 pixels wide, so you can use the Resource Hints Generator on a phone, tablet or computer in any modern browser.

Can I use the Resource Hints Generator 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 Resource Hints Generator?

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 Resource Hints Generator on 2 November 2026. Further reading: Google image SEO best practices.

Hasnain Sanmal
Hasnain Sanmal

SEO and guest post outreach specialist with 2000+ completed orders and a list of 1000+ hand-picked, high-authority websites. More about me

Need high-authority backlinks?

Get niche-relevant guest posts from my own outreach list of 1000+ websites.

Chat on WhatsApp

More to read

All articles