What is Fetch Priority Attribute Generator?
Fetchpriority is an HTML attribute that hints to the browser which resources to load sooner. It helps improve Largest Contentful Paint when applied to hero images and can de-prioritize non-critical resources. It is different from preload and loading='lazy'. Use it to signal relative importance of images, scripts, and stylesheets to the browser.
Quick answer
Use fetchpriority='high' only for the one image or resource most likely to become the Largest Contentful Paint element. Do not mark many resources as high priority -- the browser still decides loading order.
Limitations
- fetchpriority is a hint, not a directive. The browser may ignore it based on heuristics.
- Older browsers including Safari 15.4 and below do not support fetchpriority.
- Overusing fetchpriority='high' on many resources dilutes the hint and may not improve loading performance.
How to use this tool
- Select the resource type: image, script, or link tag.
- Choose the use case: LCP hero image, below-the-fold content, or non-critical script.
- The tool recommends the fetchpriority value based on your selection.
- Copy the generated tag and test with Lighthouse to confirm LCP improvement.
What you can use it for
- Apply fetchpriority='high' to the LCP hero image for faster loading.
- De-prioritize below-the-fold images with fetchpriority='low'.
- Prioritize critical scripts and stylesheets that block rendering.