Srcset Pixel Density Analyzer
Reads an <img> srcset attribute and shows which assets are used for 1x, 2x and 3x across viewports.
—
Reading a srcset and understanding which image the browser picks
The attribute listing several versions of an image has two different grammars, and mixing them is the mistake that makes the optimisation stop working. With density descriptors you state how many physical pixels each file carries per CSS pixel — useful when the image has a fixed size. With width descriptors you state each file's real width in pixels, and the browser chooses based on the available space.
Paste the attribute contents and the page splits each entry, showing URL, descriptor and which of the two grammars is in play. It also warns when both appear together, which is invalid: the browser then ignores the whole attribute and falls back to the plain source, silently undoing all the work of generating the variants.
One detail almost everybody forgets: with width descriptors, the sizes attribute is mandatory. Without it the browser assumes the image spans the full viewport width and usually downloads a larger file than needed. It is the commonest explanation for a page that generated six variants and still pulls the biggest one on a phone.
Frequently asked questions
Which grammar should I use?
What is the sizes attribute for?
Can I combine both grammars?
Related Tools
SEO Meta Description Length
Counts characters and words of meta description, flagging the ideal 120-160 range.
Keyword Density
Count word and bigram frequency in a text and see density (%). Useful for on-page SEO and content optimization. Everything in your browser.
Title and Description Analyzer
Check whether your <title> (50-60 chars) and meta description (150-160 chars) are at the ideal length for Google. Shows snippet preview. Everything in your browser.
Crawl Budget Log Analyzer
Parses Apache and Nginx access logs and reports how much crawling each bot does, which URLs Googlebot hits and where crawl budget is wasted.
Meta Tag Analyzer
Paste a page HTML and see all meta tags (description, keywords, Open Graph, Twitter, viewport, robots) extracted and organized. Everything in your browser.
SEO Title Length
Analyzes title tag length in chars and pixel estimate to suggest optimal truncation for Google.