Font viewer: open TTF, OTF, WOFF, WOFF2 and TTC fonts without installing them
Drop a font file to read what is inside it: the family and style names, version, designer, the copyright and licence text the font carries, what its embedding permission allows, how many glyphs it has and which Unicode ranges it covers. Every glyph is drawn from its outline, and you can type your own text in the font at six sizes. A .ttc or .otc collection shows every font inside it, and any one of them can be saved as its own .ttf or .otf. The font is parsed by opentype.js 2.0.0 and drawn by your browser, inside this tab.
The font is opened on your device. It is never uploaded or installed.
What it shows
- Names and metadata from the font's
nametable: family, style, full and PostScript names, version, designer and manufacturer, and the copyright, trademark and licence text exactly as written in the file. - Embedding permission from the OS/2
fsTypefield: whether the font may be installed, only embedded for preview and print (for example in a PDF), or is restricted. It is what the font says about itself, not legal advice; the licence text is what binds you. - Glyph count and units per em, the outline type (TrueType quadratic curves or CFF PostScript curves), and a variable font's axes with their ranges.
- Unicode coverage, counted from the characters the font actually maps, grouped by block: “Latin-1 Supplement: 96 of 128” tells you at once whether é, ß and ø are there, and “Cyrillic” or “Greek” show up only if the font really has them.
- Every glyph, drawn from its outline in the order the font stores them, 200 to a page so fonts with thousands of glyphs stay fast. This includes glyphs no key produces, such as ligatures, small caps and alternates. Click one to enlarge it with its name, code point and advance width.
- Your own text at 12, 16, 24, 36, 48 and 72 px, set by your browser's text engine from the file in memory. Characters the font lacks are listed, since the browser silently draws them in a fallback font.
- Font collections (.ttc, .otc), the format macOS and Windows use for many system fonts (Helvetica, Hiragino and Avenir Next on a Mac, Cambria Math and the CJK fonts on Windows) and that Noto CJK ships in. A collection is several fonts in one file that share the tables they have in common. Every font inside is listed with its family, style, glyph count and outline type, read straight from the collection's own
nameandmaxptables. The first opens below the list with everything above; Preview switches to another. Save as .ttf (or .otf for CFF outlines) copies that font's tables into a standalone file with a new table directory, each table's checksum recomputed andhead.checkSumAdjustmentreset, so it installs on its own. A WOFF2 that holds a collection is unpacked first and then listed the same way. - WOFF2 as TTF. A WOFF2 file (the format nearly every website serves its fonts in) is unpacked in this tab by Google's own woff2 decoder (wawoff2 2.0.1, MIT licence, about 320 KB, loaded only when you open a WOFF2). It then gets everything above, plus a Save as TTF button (Save as OTF for fonts with CFF outlines). Beside the button are the font's own licence text and embedding permission. Changing the file format does not change what the font's licence allows, and many commercial web-font licences cover a website, not a desktop install.
What it cannot open
- Damaged or cut-short WOFF2 files. If the WOFF2 decoder rejects a file (or cannot start on your browser), the page falls back to the typed-text preview only, using your browser's own WOFF2 support, and says why. Names, glyphs and the TTF download are then not available.
- A WOFF2 is not unpacked byte for byte. WOFF2 rebuilds the glyph table from a transformed form, so the saved TTF has the same outlines, metrics and names as the original font, but its bytes (table order, padding, checksums) may differ from the TTF the web font was made from.
- A font saved from a collection is bigger than its share of the file. Shared tables are copied into every font you save. Noto Sans CJK Regular is a 19.5 MB .ttc holding 10 fonts of 65,535 glyphs each; one font saved from it is 16.5 MB, because all ten share the same outlines and each copy needs them. A collection-wide digital signature (DSIG) is left out of the saved font, since it was made over the collection's bytes and would not match the new file.
- Saving does not change the licence. Fonts that ship with macOS or Windows may be used on that computer but usually not handed to others, whatever file they are in. Each font's own licence text and embedding permission are shown in its preview.
- Mac resource-fork fonts: .dfont files and font suitcases are older Mac containers, not .ttc collections, and are not opened.
- Bitmap and SVG colour glyphs. Emoji fonts that store glyphs as images (CBDT, sbix) or SVG may show blank or outline-only cells in the grid; the typed preview still shows them in colour where your browser supports that format.
- Fonts your browser refuses. Browsers run every font through a strict safety check (the OpenType Sanitizer). A font that fails it still shows its metadata and glyphs here, and the page tells you the text preview was refused.
- Old Mac fonts: suitcase files and PostScript Type 1 fonts (.pfb, .pfm, .lwfn) are not OpenType and cannot be read.
- Hinting and OpenType features are not shown in the glyph grid, which draws raw outlines. The typed preview does apply kerning and default ligatures.
Useful to know about font files
- TTF or OTF?
- The extension does not decide it. A file starting with the bytes
00 01 00 00has TrueType outlines; one starting withOTTOhas CFF (PostScript) outlines. Some .otf files are TrueType inside, and viewhack names what the bytes say. Both install and work the same way on Windows, macOS and Linux. - What is a .ttc file?
- A TrueType Collection: a file starting with
ttcf, then a count of fonts and where each one's table directory sits. Those directories can point at the same table, which is why a Regular and a Bold, or the Japanese, Korean and Chinese versions of one CJK design, fit in one file far smaller than their sum. .otc is the same container holding fonts with CFF outlines. Windows and macOS install a collection with a double-click, but many design tools, web pages and game engines accept only a single .ttf or .otf, which is when saving one font out of it helps. - WOFF and WOFF2
- These are web packagings of the same font data: WOFF compresses each table with zlib, WOFF2 with Brotli and a re-encoded glyph table, on average about 30% smaller than WOFF. Browsers load them via CSS
@font-face; desktop apps need the TTF or OTF, which is why a WOFF2 can be saved as TTF here. Unpacking is lossless for the outlines, so the saved font draws exactly like the web font. - Checking a font before you use it
- Look at the licence text and the embedding permission first: a font marked “preview & print only” can go into a PDF but not into an editable document. Then check Unicode coverage for the languages you need. A font that stops at Basic Latin has no accented letters at all.