Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>FontCraft: WebFont Inspector & CSS @font-face Studio Pro 🔤New to Visual Studio Code? Get it now.
FontCraft: WebFont Inspector & CSS @font-face Studio Pro 🔤

FontCraft: WebFont Inspector & CSS @font-face Studio Pro 🔤

PirapaakaranPirathapan

| (0) | Free
| Sponsor
Local font file inspector, instant CSS @font-face rule generator, typography testing canvas, and fallback font stack generator in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FontCraft: WebFont Inspector & CSS @font-face Studio Pro 🔤

Sponsor Publisher License: MIT

Local font file inspector, instant CSS @font-face rule generator, typography testing canvas, and system font fallback stack generator directly in VS Code.


✨ Features

  • ⚡ 1-Click CSS @font-face Generator: Right-click any .woff2, .woff, .ttf, or .otf font file in your Explorer to instantly generate production-ready CSS with font-display: swap;, inferred font-weight (100–900), and font-style.
  • 🎨 Live Typography Preview Studio: Test local fonts directly in VS Code without deploying them to a web server. Includes size sliders, custom headline/body text editing, glyph sets, and dark/light mode checks.
  • 🛡️ Modern System Fallback Stacks: 1-Click insertion of battle-tested, zero-layout-shift system font stacks for modern sans-serif, editorial serif, and code monospace.
  • 🔍 Smart Weight & Style Detection: Automatically identifies weights (Thin, Light, Regular, SemiBold, Bold, Black) and styles (italic) from filename conventions.

🛠️ Usage

1. Generate @font-face Rule

Right-click any font file in the VS Code file tree (.woff2, .woff, .ttf, .otf) and select: "FontCraft: Generate CSS @font-face Rule"

2. Preview Font in Typography Studio

Right-click any font file and select: "FontCraft: Preview in Typography Studio"

3. Insert System Fallback Stack

Run FontCraft: Insert Modern CSS Font-Family Fallback... from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).


⚙️ Configuration

Setting Type Default Description
fontcraft.fontDisplay string "swap" Default CSS font-display policy (swap, block, fallback, optional).

💖 Support & Sponsor

If you love FontCraft, please consider sponsoring development: 👉 Sponsor Pirapaakaran on GitHub

Connect on LinkedIn: Pirapaakaran Pirathapan


📄 License

MIT © Pirapaakaran Pirathapan

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft