Free Web Font Detector
Extract all fonts used in HTML or CSS. Identify Google Fonts, system fonts, and web fonts. Free, fast, and works entirely in your browser with no sign-up required.
Updated
Web Font Detector
Extract all fonts used in HTML or CSS. Identify Google Fonts, system fonts, custom web fonts, and @font-face declarations.
Paste HTML or CSS Source
Paste your page's HTML (including the <style> blocks and inline styles) or a CSS file. The tool will extract all font references.
Related Tools
Frequently Asked Questions
What is the Web Font Detector?
The Web Font Detector is a free online tool that extract all fonts used in html or css. identify google fonts, system fonts, and web fonts. It runs entirely in your browser with no installation or sign-up needed.
How do I detect fonts?
Paste your CSS or HTML source, and the tool extracts all font-family declarations and @font-face rules.
Can it identify Google Fonts?
Yes — it recognizes Google Fonts CDN URLs and maps them to font names.
Is it free?
Yes, completely free.
Is my data safe with this tool?
Absolutely. The Web Font Detector processes everything client-side in your browser. No data is uploaded to or stored on any server. Your content remains private on your device at all times.
Does the Web Font Detector work on mobile devices?
Yes, the Web Font Detector is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.
Do I need to create an account to use this tool?
No account or registration is needed. Simply open the Web Font Detector in your browser and start using it immediately. There are no sign-up walls or usage restrictions.
Which browsers are supported?
The Web Font Detector works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.
What is the difference between a system font, a web font, and a Google Font?
A system font already ships with the visitor's operating system — Arial, Helvetica, Georgia, Segoe UI, and the generic keywords serif, sans-serif, and monospace — so it loads instantly with nothing to download. A web font is a file the site itself serves, declared in an @font-face rule and hosted alongside the page; the browser must fetch that file before the text renders. A Google Font is a web font delivered from Google's CDN at fonts.googleapis.com, open source and free to use under its license. The detector tags every typeface it finds as Google, System, Custom, or Unknown so you can tell at a glance which ones cost a download and which come free from the device. Paste your CSS or HTML and the summary panel counts each bucket for you.
How can I find out what font a website uses from its CSS?
Open the page and grab its source — use your browser's View Source or DevTools to copy the markup, or copy the stylesheet straight from a code editor — then paste it into the detector. The parser scans every font-family declaration, the font shorthand like "font: bold 16px/1.5 Georgia, serif", @font-face blocks, and Google Fonts @import and <link> URLs, then resolves the names into one deduplicated list. Each entry shows the selector or context it appeared in, so you can see whether a typeface is used on the body, an h1, or an inline style. Reading exact family names beats guessing a typeface by eye, but remember web fonts are licensed assets — check the license before reusing one. Paste a site's source above to see its full font list in seconds.
Why does a font show up as "Unknown" in the results?
A font is tagged Unknown when its name isn't on the built-in list of roughly fifty common system fonts and it wasn't tied to either a Google Fonts CDN URL or an @font-face rule in the source you pasted. In practice that usually means a licensed web font loaded some other way, a self-hosted face whose @font-face block wasn't included in the snippet, or simply a typo in the family name. It is not an error — the tool is telling you it found a real named typeface but couldn't confirm where it comes from. If a font you expected to be Custom shows as Unknown, paste more of the stylesheet so the matching @font-face block is included. Paste your full CSS to get every font classified as accurately as possible.
What is a non-system font stack and why would I copy it?
A font stack is the full font-family value — a primary typeface followed by fallbacks the browser tries in order, like "Inter, -apple-system, Arial, sans-serif". A non-system font stack is that list with the generic system fallbacks stripped out, leaving only the typefaces a page actually loads as web fonts. The detector builds this stack for you and offers it as a one-click copy, which is handy when you want to reuse a layout's real typefaces without dragging along its fallback chain, or when auditing exactly which fonts a page depends on. Trimming a stack to the fonts you genuinely need is also a performance win, since every web font is a file the browser must download. Paste your source and copy the ready-made non-system stack from the results.
Can this tool detect fonts loaded with @font-face or only Google Fonts?
It detects both, plus more. The parser handles four kinds of font reference and merges them into one list: @font-face blocks for self-hosted or custom fonts, captured with their declared family name and the src URL so you can see where the file loads from; Google Fonts @import url(...) rules and <link> tags pointing at fonts.googleapis.com, with names pulled from the URL's family parameter; standard font-family declarations in any CSS rule or inline style; and the font shorthand where size and family are written together. Google Fonts get a direct link to their specimen page, and @font-face fonts are listed with their source URL. Because everything runs locally in your browser, it works on source you paste rather than a live URL. Paste a stylesheet to see every font, however it's loaded.
Embed This Tool
Add a free, live version of this widget to your own website or blog post — it runs entirely in your visitors' browsers, with a credit link back to The Toolbox.
<iframe src="https://getthetoolbox.com/embed/font-detector" title="Free Web Font Detector — The Toolbox" width="100%" height="260" style="max-width:480px;border:1px solid #e2e8f0;border-radius:12px" loading="lazy"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://getthetoolbox.com/website-tools/font-detector?utm_source=embed&utm_medium=widget" target="_blank" rel="noopener">Free Web Font Detector</a> by The Toolbox</p>Related Tools
Free Website Speed Test
Analyze website page load time, performance metrics, and optimization opportunities. Free, fast, and works entirely in your browser with no sign-up required.
Free Mobile Friendly Test
Check if your site is optimized for mobile devices. Free, fast, and works entirely in your browser with no sign-up required.
Free Meta Tag Extractor
Extract and review all meta tags from any webpage for SEO and social media analysis. Free, fast, and works entirely in your browser with no sign-up required.
Free Website Screenshot Tool
Capture full-page or viewport screenshots of any webpage for design review and testing. Free, fast, and works entirely in your browser with no sign-up required.
About the Web Font Detector
The Web Font Detector pulls every typeface out of a page's HTML or CSS so you can see exactly what fonts a design relies on. Paste the source — a stylesheet, a <style> block, or a full page of markup with inline styles — and the tool extracts each font-family declaration, resolves the names, and sorts them into Google Fonts, system fonts, and custom web fonts. Designers reverse-engineering a layout, developers auditing a stylesheet they inherited, and anyone curious which font a competitor uses can get an answer in a couple of seconds.
It works on source you paste, not a live URL, which means you stay in control of what gets analyzed: copy the CSS straight from your code editor, or use your browser's "View Source" / DevTools to grab the markup of any page you can open. Everything is parsed locally in your browser. Nothing you paste is uploaded, logged, or stored on a server, there is no sign-up, and there is no limit on how much you can paste.
What the detector finds
The parser scans your source for several kinds of font references and combines them into one deduplicated list:
font-familydeclarations — every CSS rule and inline style, along with the selector or context each font appears in (for examplebody,h1, orinline style).@font-faceblocks — self-hosted or custom fonts, captured with their declared family name andsrcURL so you can see where the font file is loaded from.- Google Fonts links —
@import url(...)rules and<link>tags pointing atfonts.googleapis.comare detected, and the family names are pulled straight from the URL'sfamilyparameter. - The
fontshorthand — values likefont: bold 16px/1.5 "Georgia", serifare parsed so the typeface isn't missed when the size and family are written together.
How fonts are classified
Each detected font is tagged with one of four types so you can tell at a glance what you're dealing with:
- Google — matched against a recognized Google Fonts CDN URL; these include a direct link to the matching specimen page on fonts.google.com.
- System — a font that ships with common operating systems or sits in a standard stack, recognized against a built-in list of roughly fifty names such as Arial, Helvetica, Georgia, Segoe UI, Roboto, and the generic keywords
serif,sans-serif, andmonospace. - Custom — a face declared in an
@font-facerule, meaning the site hosts the font file itself. - Unknown — a named font that isn't a known system font and wasn't tied to a Google or
@font-facesource, so it may be a licensed web font, a typo, or a face loaded by some other means.
A summary panel counts the totals in each bucket, and the tool also builds a ready-to-paste non-system font stack — the font-family value with the system fallbacks stripped out — that you can copy in one click.
Why detecting fonts is worth it
Fonts shape both how a site looks and how fast it loads. Each web font is a file the browser has to download, and unoptimized font loading is a common cause of layout shift and slow text rendering. Seeing every font a page pulls in — and whether they come from Google's CDN, a self-hosted file, or the visitor's own device — is the first step to trimming the ones you don't need.
The detector is just as useful for matching a look you admire. Instead of guessing a typeface by eye, you can read the exact family names out of the CSS, then check the licensing before reusing one. Web fonts are licensed assets: Google Fonts are open source and free to use, but a custom or licensed face you spot in someone else's stylesheet usually requires its own license before you put it on your own site.