TapToConvert All conversions

Home / File types / .afm

AFM file: what it is and how to open it

PostScript type-1 font. Here is what a .afm file contains, how to open one on any device, and a viewer that opens it right in your browser.

Open a .afm file hereChoose fileRead in your browser. Nothing is uploaded.

What the viewer shows

  • Whether the file matches the .afm signature
  • The first bytes as hex
  • A preview when your browser can display it

What is a .afm file?

A .afm file is a postScript type-1 font. Its registered MIME type is application/x-font-type1, which places it in the application or document family of formats.

Technically it is a specialised form of application/postscript (the .ai format), so tools that understand that format can often read at least part of it.

AFM is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.

Files of this type usually begin with the bytes 4C 57 46 4E. That signature is how programs recognise the format even when the extension is wrong or missing.

The same format is also saved with the extensions .gsf, .pfa, .pfb, .pfm.

AFM file format details

Extension.afm
FormatPostScript type-1 font
MIME typeapplication/x-font-type1, application/x-font-afm
CategoryApplication or document
Text or binaryBinary
Based onapplication/postscript
File signature4C 57 46 4E
Registered with IANANo
Other extensions.gsf, .pfa, .pfb, .pfm

How to open AFM files

WindowsAFM files (PostScript type-1 font) are made by specific software. The reliable way to open one is with the program that created it; a generic viewer will only show raw data.
MacThe same applies on a Mac: look for a Mac version of the program that makes AFM files.
iPhone and iPadPhones rarely open this type of file directly. The viewer above can show what is inside it without installing anything.
AndroidThe same applies on Android. The viewer above shows the first bytes of the file so you can confirm what it is.

Can you convert a .afm file?

TapToConvert does not convert AFM files. The usual route is to open the file in the program that made it and use its Export or Save as option.

AFM file FAQ

What is a .afm file?

A .afm file is a postScript type-1 font, with the MIME type application/x-font-type1.

How do I open a .afm file?

With the program that created it. The viewer on this page shows what is inside without installing anything.

Is a .afm file safe to open?

AFM files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.

What is the MIME type of .afm?

application/x-font-type1, and it is also seen as application/x-font-afm. Web servers send this type so browsers know how to handle the file.

Is AFM a text or binary format?

Binary. Its contents are not readable as text.

File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.

Similar file types

Try MP4 to MP3, HEIC, merge PDF or compress video.