Home › Developer Tools › Font Viewer

Font Viewer

Open any TTF, OTF, WOFF or WOFF2 font to preview it with your own text, see it at every size, browse every glyph it contains and read its name, version, license and metrics, all without installing the font.

Last updated:

Drop font files here or click to choose TTF, OTF, WOFF, WOFF2 · several at once · fonts stay on your device
Advertisement
Advertisement

How to use the Font Viewer

  1. Drop one or more font files onto the box or click it to choose TTF, OTF, WOFF or WOFF2 files.
  2. Type your sample text or pick a preset, then adjust size, line height, spacing and colors. You can also type directly in the preview.
  3. Open Waterfall to see the text at every common size, or Glyphs to browse every character the font contains.
  4. Click a glyph to see its code point, escapes and outline, or search for a character such as € or U+20AC.
  5. Check Font info for the license, version and metrics, then press Export sample PNG or Copy @font-face CSS.

Font file formats compared

FormatExtensionCompressionBest for
TrueType.ttfNoneDesktop installation, editing, conversion source
OpenType (CFF).otfNone (compact CFF outlines)Print and desktop publishing with advanced typography
WOFF.woffzlib per table (about 40% smaller)Websites that must support very old browsers
WOFF2.woff2Brotli + glyph transforms (about 30% smaller than WOFF)All modern websites
TrueType Collection.ttcShared tablesSeveral styles bundled in one file (common on macOS and Windows)

Font metadata explained

Every OpenType font stores its information in tables identified by four-letter tags. This viewer reads them directly from the file:

TableWhat it contains
nameFamily, style, full name, version, copyright, designer, foundry, license text and URLs
headUnits per em (usually 1000 for CFF or 2048 for TrueType), creation and modification dates, font revision
OS/2Weight class (100–900), width class, embedding permissions (fsType), cap height and x-height, vendor ID
hheaAscender, descender and line gap used by browsers to compute line height
cmapThe character map: which Unicode code point maps to which glyph
maxpTotal number of glyphs, including unmapped alternates
GSUB / GPOSOpenType features: ligatures, small caps, old-style figures, kerning and mark positioning
fvarVariation axes of a variable font, such as weight (wght), width (wdth) and slant (slnt)

Example: a font with 2,048 units per em and an ascender of 1,901 has text that rises 1,901 ÷ 2,048 = 0.93 em above the baseline, so at 16 px the tallest glyphs reach about 14.9 px.

Weight class numbers

usWeightClassNameCSS font-weight
100Thin100
200Extra Light200
300Light300
400Regular400 / normal
500Medium500
600Semi Bold600
700Bold700 / bold
800Extra Bold800
900Black900

Tip: match the font-weight in your @font-face rule to the font's weight class. If you declare a Bold file as weight 400, browsers will synthesize "fake bold" on top of it when you use font-weight: bold.

Frequently asked questions

How do I preview a font without installing it?

Drop the font file onto this page. The browser loads it with the FontFace API just for this tab, so you can see sample text, glyphs and details without installing anything on your system.

Are my font files uploaded anywhere?

No. The font is read and rendered entirely in your browser. Nothing is sent to a server, which matters for commercial fonts whose license forbids sharing the file.

Which font formats are supported?

TrueType (.ttf), OpenType (.otf with CFF outlines), WOFF, WOFF2 and the first font of a TrueType collection (.ttc). Names, metrics and the character map are read from TTF, OTF and WOFF files. WOFF2 files preview fine, but their compressed tables cannot be decoded here, so the glyph list is found by testing common Unicode ranges.

Why do some glyphs not appear in the grid?

The grid lists the characters in the font's character map (cmap). Glyphs that have no Unicode mapping, such as ligatures, alternates or small caps, are only reachable through OpenType features. Turn those features on in the Sample text tab to see them.

What does the glyph outline view show?

When the opentype.js library loads, clicking a glyph draws its vector outline with the baseline (green), ascender and descender (dashed orange) and the advance width (gray lines), plus its name, index and bounding box in font units.

Can I use the font on my website?

Only if its license allows web embedding. Check the License and Embedding permissions rows in Font info. To use it, convert it to WOFF2 and add an @font-face rule; the Copy @font-face CSS button gives you a starting rule.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

File Info ViewerCheck file size, type, date and MD5/SHA hashes.CSS FormatterBeautify CSS with indent controls and optional property sorting.HTML Entity Encoder / DecoderEscape and unescape HTML entities, named or numeric.Base64 Encoder DecoderEncode or decode Base64 text and files, and make data URIs.CSS Clamp GeneratorTurn min/max sizes and viewport widths into a fluid CSS clamp() value in rem and vw.CSS @font-face GeneratorTurn font files or URLs into ready-to-paste @font-face rules with weights, styles and a preview.CSS Text Gradient GeneratorMake gradient text with background-clip:text: color stops, angle, font preview and fallback CSS.CSS Text Shadow GeneratorLayer CSS text shadows with a live preview and neon, 3D, outline and retro presets.Online Python CompilerRun Python 3 in your browser with input(), numpy, pandas, charts and share links.JSON EditorEdit JSON in a tree and as code side by side: add, rename, drag, change types, undo and download.Unzip FilesOpen and extract ZIP files online.RAR & 7z ExtractorOpen RAR, 7z and other archives online and extract files.Regex TesterTest and debug regular expressions live.SQLite ViewerOpen .db and .sqlite files in your browser, browse tables and run SQL queries.DOCX ViewerOpen and read Word .docx files in your browser, then print or save them as HTML.EPUB ReaderOpen and read EPUB e-books in your browser with pages, a table of contents and font controls.What Is My BrowserSee your browser, version, OS, engine, screen and which web features it supports.Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Regex Cheat Sheet75+ ready-to-use regex patterns for emails, URLs, IPs and dates, each with a live test box.JavaScript Keycode FinderPress any key to see its JavaScript key, code, keyCode, which, location and modifiers.QR Code ScannerScan QR codes with your camera or from an image and safely read the link or text.RAID CalculatorUsable capacity, efficiency and fault tolerance for RAID 0, 1, 5, 6, 10, 50 and 60 arrays.JSONPath TesterTest JSONPath expressions live: filters, slices, wildcards and recursive search, with matches highlighted.Mermaid Diagram EditorWrite Mermaid code and see flowcharts, sequence, Gantt and ER diagrams live. Export SVG or PNG.Country Codes ListSearch ISO 3166 alpha-2, alpha-3 and numeric country codes with calling codes and TLDs.CSS Selector TesterTest CSS selectors on your HTML: highlighted matches, match count and specificity.Git Cheat SheetSearchable Git command reference by task, with copy buttons and an undo/rename/fix wizard.HAR File ViewerOpen a .har file to see a waterfall timeline, headers, bodies, timings and size totals.jq PlaygroundRun jq filters on JSON in your browser with live output, flags and an example library.Markdown Cheat SheetInteractive Markdown syntax reference: edit every example and see the live rendered preview.Regex ExplainerPaste a regular expression and get a plain-English breakdown, railroad diagram and flag notes.XPath TesterTest XPath expressions on XML or HTML: highlighted matches, node paths, values and examples.EML File ViewerOpen .eml email files to read the message, headers and raw source and save attachments.Graphviz Online ViewerWrite Graphviz DOT code and render graphs live; switch layout engines, export SVG or PNG.JavaScript Online CompilerWrite and run JavaScript in your browser with a console, timing, error lines and share links.Jupyter Notebook ViewerOpen .ipynb files and read code, Markdown, math, tables, plots and errors without Python.LaTeX Table GeneratorEdit a table like a spreadsheet or paste from Excel and get LaTeX tabular or booktabs code.Log File ViewerOpen huge log files with level colors, regex and time filters, JSON pretty-print and tail -f.EditorConfig GeneratorBuild an .editorconfig with indent, charset, line endings and trim rules per file pattern.Folder Compare ToolCompare two folders by file list, size and SHA-256 hash, then open a text diff of changed files.Glob Pattern TesterTest glob patterns like **/*.js, {a,b} and !exclusions against a list of file paths.JMESPath TesterEvaluate JMESPath expressions against JSON live, the query language used by the AWS CLI.MongoDB Query TesterTest MongoDB find filters, projections and aggregation pipelines on sample JSON documents.Semantic Version CalculatorBump, compare, sort and test SemVer versions against npm ^, ~ and x ranges.XSLT TesterRun an XSLT 1.0 stylesheet on XML in your browser and see the output as HTML, XML or text.ASCII Diagram EditorDraw boxes, arrows and text on a character grid and copy plain-text diagrams for code and READMEs.DBF File ViewerOpen dBase .dbf files and shapefile tables, search and sort records, export CSV or XLSX.MBOX File ViewerOpen .mbox mail archives: list and search messages, read them, save attachments, export EML.MDB File ViewerOpen Access .mdb and .accdb databases in your browser: list tables, view rows, export CSV.Shapefile ViewerView zipped shapefiles on a map with the attribute table, then export to GeoJSON or CSV.Logic Gate SimulatorBuild logic circuits with AND, OR, NOT, XOR gates and flip-flops; see live outputs and truth tables.MSG File ViewerOpen Outlook .msg emails in your browser: sender, recipients, body, headers and attachments.Online Code EditorVS Code-style editor in your browser: tabs, 50+ languages, find/replace, autosave.Online Hex EditorOpen any file as hex and ASCII, edit bytes, search, inspect values and save the result.PHP Online CompilerRun PHP 8 code in your browser with output, HTML preview, error lines and share links.PlantUML EditorWrite PlantUML and see sequence, class, activity and more diagrams live. Export SVG or PNG.Sorting Algorithm VisualizerWatch bubble, insertion, merge, quick, heap and radix sort step by step with live counters.Lottie ViewerOpen Lottie JSON or .lottie files to play, pause, scrub frames, change speed and see details.Diff ViewerPaste a git diff or .patch file and view it side by side or inline, with file navigation.
See all 53 Code Playgrounds & Testers →