Convert TTF to TTX

Turn TTF fonts into TTX. Every table of the font as editable XML, with TrueType instructions disassembled into text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TTF files on the dialor turn it to pick what to do

Every table of a font, as text.The TTF becomes a TTX file you can read and edit in any text editor.

  1. What you get

    One TTX file that holds every table of the font as XML. TTX is the XML dump made by fontTools, so each table is readable and editable as text.

    TrueType instructions are disassembled into text too, so the hinting code is something you can read instead of raw bytes.

  2. What to expect

    The TTX file is many times larger than the font. XML spells out in text what the TTF stores in compact binary form.

    The conversion has no options. You give it a TTF and get one file back.

  3. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted. This means the input is not a TrueType font that can be read.

    To go the other way, TTX to TTF builds a font from the XML again.

TTF and TTX.What each format is.

The formats

From · TTF

TrueType Font

TrueType fonts, the format of most system fonts.

Extensions
.ttf
MIME type
font/ttf
Kind
Fonts
To · TTX

TTX Font XML

fontTools' XML dump of a font. Every table readable and editable as text.

Extensions
.ttx
MIME type
application/x-font-ttx
Kind
Fonts

In your code.The same TTF to TTX conversion through the API, for your app or your agent.

terminal
$ cv convert font.ttf font.ttx
$ cv convert font.ttf font.ttx

Questions.What people ask about TTF to TTX.

01OF 04

It is fontTools' XML dump of a font. Every table is readable and editable as text.

Yes. Every table of the font is written out as XML, with TrueType instructions disassembled into text.

The TTX file is many times larger than the font because it holds the same data as readable XML text.

The file could not be parsed. The conversion stops there and gives no TTX file.

More conversions.Other ways in and out of TTF and TTX.