OTF to SVG Converter
Preview an OTF font as an SVG specimen sheet with letters, digits and a sample line.
or drop files here
OTF Format
OpenType font
A font format Microsoft and Adobe developed by extending TrueType. Its first version was published in 1997.
- Glyph and layout tables
- CFF, TrueType, bitmap or SVG glyphs
- font/otf
- Variation tables
SVG Format
Scalable Vector Graphics
An open W3C XML format that describes two-dimensional graphics as shapes, text and embedded images.
- XML text
- Scales without losing sharpness
- Styleable with CSS
- image/svg+xml
How to convert OTF to SVG
Follow these steps to convert OTF to SVG online.
Choose your OTF file, or several at once.
Wait while the converter turns each file into SVG.
Download each new SVG file. Your original file isn't changed.
Related Tools
OTF to PNG
Convert OTF to PNG: a specimen image of the font, with its name, letters, digits and a sample sentence.
AI to SVG
Convert AI files to SVG format
AVIF to SVG
Convert AVIF files to SVG format
BMP to SVG
Convert BMP files to SVG format
CDR to SVG
Convert CDR to SVG format
CR2 to SVG
Convert CR2 images to SVG format
CR3 to SVG
Convert CR3 images to SVG format
DDS to SVG
Convert DDS images to SVG format
DNG to SVG
Convert DNG images to SVG format
GIF to SVG
Convert GIF files to SVG format
HEIC to SVG
Convert HEIC files to SVG format
HTML to SVG
Convert HTML to SVG: an SVG holding a picture of the page, 1280 px wide, so its text isn't editable. External images and stylesheets aren't loaded.
ICNS to SVG
Convert ICNS to SVG format
ICO to SVG
Convert ICO files to SVG format
JFIF to SVG
Convert JFIF files to SVG format
NEF to SVG
Convert NEF to SVG format
ORF to SVG
Convert ORF to SVG format
PES to SVG
Convert PES to SVG format
PNG to SVG
Convert PNG files to SVG format
RAF to SVG
Convert RAF to SVG format
TIFF to SVG
Convert TIFF files to SVG format
TXT to SVG
Convert TXT to SVG: an SVG holding a picture of your text, so the text isn't editable. Long lines wrap, and a very long text is cut at 4,096 px, with the image saying where.
WebP to SVG
Convert WebP files to SVG format
XCF to SVG
Convert XCF to SVG format
What to know before converting OTF to SVG
- The SVG is a specimen sheet, not the font's glyph outlines.
- The sheet shows the font name, A to Z, a to z, digits and a sample sentence at five sizes.
- The text is black on white, drawn by ImageMagick.
- You cannot choose the sample text.
About OTF files
What is an OTF file?
An .otf file stores an OpenType font. The format grew out of TrueType through work by Microsoft and Adobe, with a first release in 1997. The registered media type is font/otf.
OpenType files organize glyph and text-layout data into tables. A glyph description may use TrueType outlines, CFF outlines, bitmaps or SVG, so two .otf files from different foundries can be built differently. Variation tables also let several related faces share one font resource. Some OpenType fonts even use SVG for their glyph descriptions, which is a different thing from the SVG file this page makes.
A font file describes how to draw characters, and it is not a drawing. Turning one into a picture means choosing some text to draw, which is the job of this page.
Programs that open OTF files
Windows, Mac and Linux:
- FontForge lists otf among the file types in its Open dialog.
- Binary tables are read by fontTools TTX, which writes them out as XML for inspection.
Mac:
- Installing and validating OpenType and OpenType-SVG fonts is what Font Book does.
OTF and SVG compared
- Contents: an OTF holds glyph data and layout rules for many characters. An SVG is XML describing shapes, text and embedded images.
- Standards: SVG is an open W3C standard that became a Recommendation in 2001. OpenType came from Microsoft and Adobe.
- Typical use: install an OTF to type with it. An SVG is shown as a picture, in a browser or in Inkscape.
- Scaling: outlines kept as drawing instructions stay sharp at every size. A raster picture inside an SVG does not.
- Text: SVG files are plain text, which can be edited and searched. Pixels embedded in one cannot.
- Styling: stylesheets and scripts reach into an SVG, so its look can be changed, driven by code and animated.
- Media type: SVG is registered as image/svg+xml.
- Compression: a gzip-compressed SVG uses the .svgz extension.
- Placement: open an SVG by itself, or embed it in an HTML page.
- Effects: SVG supports clipping paths, masks and filter effects.
The two formats do not map one to one. Your font is loaded into ImageMagick in the browser, and FreeType draws a specimen. The first line is the font's own name at 40 pixels, taken from its name table and cut off at 64 characters. A font with no usable name gets the heading OTF font instead. Then come the capital letters, the lowercase letters, then the numerals along with some punctuation marks, each at 28 pixels. A pangram about a fox and a dog follows at 16, 24, 32, 48 and 64 pixels. Ink is black on white, and the sheet is between 400 and 2400 pixels wide. This picture is wrapped inside an SVG file.
So the SVG holds a picture and not the font's outlines. Its letters cannot be edited, which suits a preview, a thumbnail or an illustration. If you need paths, use one of the methods below.
Files convert one after another, each SVG downloads on its own, and your OTF is never changed. The page sets no size limit and nothing is uploaded.
Other ways to convert OTF to SVG
- FontForge, export a glyph: open the OTF with File > Open. With a glyph's outline view, use File > Export and choose SVG. The manual says this exports the splines of the glyph.
- FontForge, SVG font: after opening the OTF, choose File > Generate Fonts and pick SVG font. FontForge usually writes contours for each glyph in that format.
- fontTools: run
fonttools pens.svgPathPen face.otf "ABC" > letters.svg. The characters follow the font file, and the paths are printed to standard output.
Problems with OTF files
- Older renderer: a rendering engine can lack support for a font's particular outline representation.
- Corrupt file: a damaged font can prevent correct display, and Font Book provides validation.
- Duplicate copies: installed twice, a font can cause conflicts, and Font Book can resolve them.
- Not readable: if the file is not a font ImageMagick can read, the page says so.
- No letters: a font with none of the characters in the sheet gets the message that it has no letters the converter can draw.
- Outlines wanted: the specimen cannot supply them, so use FontForge or fontTools.
Frequently Asked Questions
Everything you need to know about our converter
What does the OTF to SVG converter produce?
Are the glyphs real vector outlines?
Can I install or use the SVG as a font?
Which sizes does the sample text use?
Can I choose the text or colors?
Will every character in my font appear?
Can I put the SVG on my website?
Does the page upload my font?
Is batch conversion possible?
What if the conversion fails?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.