THE VECTOR FIELD GUIDE

How to Convert TTF to SVG

Convert a TTF font to SVG as typed text outlines, single glyphs or a whole SVG font. Free methods in Inkscape and FontForge, with the web font warning and cutter checks.

By Shahab Uddin · Updated

The short answer

To convert TTF to SVG, first decide which output you need. For a logo, a sign or a cutting machine, turn typed text into SVG paths: type the words in Inkscape with the font installed, convert the text to paths, and save as SVG. For single letters or symbols, open the font in FontForge and export the glyph as SVG. For the whole font as one file, open it in FontForge and generate an SVG font. A TTF file stores the outlines of every letter as curves, and an SVG file stores shapes as paths, so the conversion extracts those outlines into paths. This site has no TTF upload tool, because a font file is not an image, so the conversion happens in a font or vector editor on your computer. Do not convert a font to use it as a web font. SVG fonts were removed from SVG 2 and only Safari still reads them, so use WOFF2 for the web instead.

What converting TTF to SVG actually means

TTF is short for TrueType Font. It is a font file that stores the outline of every letter, number and symbol as curves, plus the spacing, kerning and hinting that make the letters sit well together. A single TTF file can hold hundreds of glyphs.

SVG is short for Scalable Vector Graphics. It is an open vector format that stores shapes as paths. Converting TTF to SVG means taking those glyph outlines out of the font file and saving them as SVG paths, so they behave like any other vector artwork.

There are three different outputs, and they suit different jobs. Typed text as paths suits a logo or a sign. Single glyphs as SVG files suit icons and monograms. A whole SVG font suits old tools that still read SVG fonts. Pick the output before you pick the tool, because the wrong output wastes the work.

Pick the output you need first

OutputWhat you getBest for
Text as SVG pathsWords you typed, as editable shapesLogos, signs, vinyl and laser cutting
Single glyphs as SVGOne letter or symbol per SVG fileIcons, monograms, single letters
Whole font as SVG fontEvery glyph in one SVG font fileOld tools that still read SVG fonts
Traced PNG of the textA traced outline of a rendered imageA quick wordmark with no font editor

Method 1: Inkscape text to paths, free

Inkscape is a free and open source vector editor for Windows, Mac and Linux, and it is the best free route when you need words as vector shapes. Install the font on your computer first, so Inkscape can use it.

  1. Install the TTF font on your computer, then open Inkscape.
  2. Type the words with the text tool and set the font, the size and the spacing.
  3. Select the text and use Path, Object to Path. The letters become editable shapes, and the text no longer needs the font to display.
  4. Ungroup the letters if you need to move or edit single letters, then save the file as SVG.
  5. Open the SVG in a browser or in your cutting software and check the letter shapes before you use it.

Method 2: FontForge, free

FontForge is a free and open source font editor for Windows, Mac and Linux, and it understands fonts properly, including subsetting glyphs and keeping font metrics intact. Use it when you need single glyphs or the whole font as an SVG font.

  1. Open the TTF file in FontForge. The glyph grid shows every letter, number and symbol in the font.
  2. For the whole font, go to File, Generate Fonts, choose SVG as the output format, and save. Delete glyphs you do not need first if you want a smaller file.
  3. For a single glyph, select the glyph in the grid, then go to File, Export, and choose SVG as the format. Each letter becomes its own clean SVG file with the outline as editable paths.
  4. Open the SVG in Inkscape or a browser and check the outline, the size and the curves before you use it.

Method 3: online converters

Online converters turn a TTF file into SVG in your browser, with nothing to install. They suit a one off letter or word when you have no desktop software, but they upload your font to a third party server, so check the font licence first. A licensed commercial font may not allow conversion or sharing, and a font you do not own should never be uploaded.

  1. Search for a TTF to SVG converter and pick a known, trusted site.
  2. Upload your TTF file and choose the output: text as paths, single glyphs, or an SVG font.
  3. Run the conversion and download the SVG file or files.
  4. Open the SVG in a browser or in the tool that will use it, and check it carefully with the steps in section 7.

Method 4: render the text and trace it on this site

If you only need a simple wordmark and you have no font editor, render the text as an image and trace it with the PNG to SVG converter on this site. It gives a traced outline, not the exact curves from the font, so use it for craft, vinyl and simple laser work, not for a full alphabet or for type that must match the font exactly.

  1. Type the words in any app that has the font, on a plain white background, at the largest size you can.
  2. Export or save the text as a PNG, with no shadows, no effects and no background picture.
  3. Trace the PNG with the PNG to SVG converter or the PNG to vector tool on this site. Both run in your browser and the file is never uploaded.
  4. Pick a small color count for one color lettering, and compare the vector preview with the PNG before you download.
  5. Check the size in your cutting software. A traced image has no real world scale, so set the width and height from the size you need.

Checking the SVG before you use it

  • Open the SVG in a browser and zoom in to 200 percent or more. Curves should stay smooth, and corners should stay sharp.
  • Check the kerning and ligatures. Letters that join, such as f and i in some fonts, are shaped at typing time, so type the exact words before you convert, not after.
  • Check that every letter is a closed shape. Open paths will not cut as filled regions on a laser or vinyl cutter.
  • Join overlapping letters into one shape when the cutter needs a single outline. Overlapping paths can cut twice along the same line.
  • Check stroke and fill. Converted letters are usually filled shapes with no stroke, so set the fill and stroke your cutter expects.
  • Check the font licence. A font that allows personal use may not allow commercial products, and converting it does not change the licence.

TTF or SVG: when to keep each

UseKeep TTFUse SVG
Typing documentsYes, the font stays usable everywhereNo, SVG paths are not typeable text
Logo or wordmarkOnly as the source fontYes, the letters are fixed shapes
Laser or vinyl cuttingNo, cutters cannot read fontsYes, letters as cuttable paths
Website textYes, or convert to WOFF2 for the webNo, SVG fonts no longer work in browsers
Single letter iconOnly as the source fontYes, one glyph as one SVG file
Editing laterYes, the font keeps every glyphYes, if only a few letters are needed

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

Is TTF to SVG conversion free?

Yes. FontForge and Inkscape are both free and open source, and each can turn a TTF font into SVG paths or an SVG font. Online converters are also free for a one off letter or word, but they upload your font to a third party server.

Can I convert TTF to SVG in my browser on this site?

Not directly. This site has no TTF upload tool, because a font file is not an image. Use Inkscape or FontForge for exact font curves. The trace route on this site starts from a PNG render of the text, not from the font file itself, and it gives a traced outline rather than the exact glyph shapes.

Will the SVG work as a web font?

No. SVG fonts were removed from SVG 2, and only Safari still reads them, so modern browsers will not use an SVG font on a web page. For web use, convert the TTF to WOFF2 instead, which is the format browsers actually want.

Why do my letters look wrong after conversion?

Kerning and ligatures are applied when you type the words, so type the exact text before you convert it to paths. If letters overlap, join them into one shape for cutting. If the curves look rough, the trace route was used instead of the font curves, so convert again in Inkscape or FontForge for exact outlines.

Next, make it useful.