How to preview a .AFM file online
See your .AFM file in action before you install it, license it or send it to a client.
Pick your .AFM file
Drag it in or click to choose it, or try one of the samples below. Nothing is installed or uploaded from your device.
Type and test
Write your own text, change the size, switch OpenType features like ligatures and small caps, and move variable-font sliders.
Inspect and use
Browse every glyph with its outline, check language coverage, read the licence and copy ready-made @font-face CSS.
About .AFM files
What a .AFM file is, and what's inside it.
An AFM file is a plain-text Adobe Font Metrics file that stores character widths, bounding boxes, and kerning pairs for a Type 1 PostScript font. You do not open it directly - PostScript applications, TeX/LaTeX, and prepress tools read it automatically. To inspect the contents, open it in any text editor.
Programs that open .AFM files
| Full name | Adobe Font Metrics File |
|---|---|
| Developer | Adobe Systems Incorporated |
| First released | 1985 (with PostScript Type 1 fonts) |
| Category | Fonts |
| MIME type | application/x-font-afm |
Related viewers
Other free viewers that work the same way.
Does opening a .AFM file install it on my computer?
No. The font is loaded only inside this browser tab and disappears when you close it. Nothing is installed or uploaded.
How do I know which languages a font supports?
Open the Languages tab. We check the font's character map against the letters each language needs, for example ą ć ę ł ń ó ś ź ż for Polish, and show what's missing.
What are OpenType features?
Optional typographic extras built into a font: ligatures, small caps, old-style or tabular figures, fractions, stylistic sets. Switch them on and off in the Type tester to see what your font offers.
Can I use this font on my website?
Technically yes. Copy the @font-face CSS from the side panel. Legally, check the licence shown in the font info: many fonts are free (SIL Open Font License), others need a web licence.
Why does my Type 1 font look like an image?
Browsers can't use Type 1 fonts, so we render a specimen with Ghostscript instead. You can still type your own sample text and zoom in.
Was this tool helpful?
Your rating helps us decide which tools to improve next.