Skip to main content

Website Font Finder & Inspector

Instantly inspect, detect, and test all fonts loaded by any web application.

Analyze any website URL to extract hosted Google Fonts, custom @font-face font files (.woff2, .woff, .ttf), and complete CSS font-family typography stacks. Test detected fonts live inside an interactive sandbox before downloading or integrating them into your projects.

[!NOTE] Privacy & Verification Transparency: This tool fetches publicly accessible HTML markup and stylesheet links. No input URLs or extracted site metadata are stored on our servers.

Use the Tool​

Target Site: https://hrekov.com
3 Fonts Detected

Type Tester & Live Font Preview

Size: 20px

Inter

Google Font
The quick brown fox jumps over the lazy dog
Detected Weights: 400, 500, 600, 700
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
Open Specimen ↗

Roboto Mono

Google Font
The quick brown fox jumps over the lazy dog
Detected Weights: 400, 500
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500&display=swap');
Open Specimen ↗

Get notified about updates to this tool

No spam. Just high-quality updates about new features and guides.


What This Tool Does​

Core Functionality​

The Website Font Finder analyzes the document tree and linked stylesheets of any submitted URL. It extracts hosted Google Font links, @import CSS statements, embedded inline <style> declarations, and external stylesheet references.

By fetching and parsing the CSS resources serverless, the tool extracts:

  • Google Fonts: Identifies exact family names, requested font weights (wght@400;700), italic variants, and direct links to Google Font specimens.
  • Custom @font-face Files: Extracts raw web font URLs (.woff2, .woff, .ttf, .otf), formats, weight definitions, and offers direct file downloads.
  • CSS Font Stacks: Compiles an exhaustive list of all unique font-family declarations parsed across stylesheet rules.

Problems Solved​

When reviewing web design inspiration or debugging front-end typography issues, identifying exact font configurations can be challenging. Browsers often fall back to system font stacks when web fonts fail to load, hiding the intended typography. Furthermore, manually scanning developer tools Network tabs to locate cross-origin @font-face binary files is tedious. This tool automates stylesheet traversal, isolating typography assets into a unified dashboard with an interactive type tester.

Target Audience​

  • Front-End Engineers: Audit loaded web font assets, verify <link rel="preload"> efficiency, and copy production-ready CSS @import snippets.
  • UI/UX Designers: Identify typography used by modern web applications and test sample copy directly within detected typeface specimens.
  • Brand Specialists & Marketers: Enforce brand consistency by verifying that live sites utilize designated corporate font files instead of generic fallbacks.

How It Works​

Engineering Approach and Architectural Insights​

I built this tool to overcome several browser-level security restrictions that complicate client-side font detection. When attempting to fetch cross-origin stylesheets directly inside browser JavaScript, restrictive Cross-Origin Resource Sharing (CORS) policies frequently block access to the underlying CSS text.

To solve this, I designed a serverless Node.js extraction pipeline that operates as follows:

  1. Document Analysis: A backend HTTP request retrieves the target site's raw HTML payload, simulating a modern user agent.
  2. Resource Parsing: Using cheerio, the parser scans for <link rel="stylesheet">, <style> tags, and <link rel="preload" as="style"> attributes.
  3. Stylesheet Traversal: External CSS URLs are fetched asynchronously. The parser extracts @import rules pointing to Google Fonts APIs (fonts.googleapis.com/css2) and parses @font-face blocks using regular expressions.
  4. Url Resolution & Normalization: Relative font asset paths (e.g., ../fonts/brand.woff2) are resolved against the absolute base origin of the target site.
// Example backend extraction snippet for @font-face rules
const fontFaceRegex = /@font-face\s*\{([^}]+)\}/gi;
let fontFaceMatch;
while ((fontFaceMatch = fontFaceRegex.exec(cssText)) !== null) {
const body = fontFaceMatch[1];
const familyMatch = body.match(/font-family\s*:\s*['"]?([^;'"]+)['"]?/i);
const srcMatches = body.matchAll(/url\(['"]?([^'"\)]+)['"]?\)/gi);
// Extracted font metadata returned to frontend component
}

Technical Limitations​

  • JavaScript-Rendered Meta: Websites that inject font links dynamically via client-side JavaScript execution (after initial HTML render) may require standard static links to be picked up by the serverless scraper.
  • Bot Defense Firewalls: Sites behind aggressive anti-bot guards (like Cloudflare Turnstile or strict Captcha walls) may reject automated HTML scraping requests.

Web Font Licensing & Best Practices​

Licensing Guidelines​

Web fonts are intellectual property protected by copyright law. While Google Fonts are generally distributed under open-source licenses (such as SIL Open Font License or Apache License 2.0), self-hosted @font-face files found on commercial websites may be proprietary.

[!WARNING] Always verify font licensing agreements before downloading or utilizing third-party web font files in commercial applications.

Typography Optimization Checklist​

When implementing web fonts in modern web applications, adhere to these performance practices:

  • Use WOFF2 Format: WOFF2 provides Brotli compression, delivering up to 30% smaller file sizes compared to original WOFF files.
  • Implement font-display: swap: Prevents Flash of Invisible Text (FOIT) by rendering system fallbacks immediately while web fonts download.
  • Preconnect to Font CDNs: Use <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> to eliminate round-trip latency when fetching third-party fonts.
Developer API Available
Need to programmatically extract metadata and site assets? Explore our developer APIs.

Frequently Asked Questions​

What is WOFF2 and why is it preferred for web fonts?​

WOFF2 (Web Open Font Format 2.0) is the modern standard for web typography. It utilizes Brotli compression algorithm to significantly reduce font file transfer sizes, reducing page load times and improving Core Web Vitals score.

How does this tool detect Google Fonts vs custom fonts?​

Google Fonts use standardized CSS endpoints (fonts.googleapis.com). Our backend parser detects these specific URL structures to extract font family parameters and weight parameters. Custom fonts are detected by parsing @font-face CSS blocks for .woff2, .woff, .ttf, or .otf file definitions.

Why does a website look different if a web font fails to load?​

If a web font fails to load (due to ad-blockers, network timeouts, or broken links), the browser falls back to the secondary font specified in the CSS font-family stack (e.g., font-family: CustomFont, Arial, sans-serif). If no fallback is defined, system default fonts are rendered.



Get Early Access to New Tools

Be the first to try new APIs and applications. No noise. Only meaningful releases and practical engineering insights.