TXT to SVG Converter

Paste text from a .txt file and get SVG paths.

Got words in a plain text file and need them as a vector graphic? Open the .txt file in any editor, copy the text, and paste it into the converter below. It lays the text out in the font you choose and exports it as SVG path outlines.

There is no .txt file picker on this page — pasting is the supported way in. If you would rather start from a blank artboard, the font to SVG converter on the home page is the same tool.

Font to SVG converter loading

How to convert TXT to SVG

  1. 1

    Open your .txt file

    Open the file in Notepad, TextEdit, VS Code or any text editor, select the lines you want and copy them.

  2. 2

    Paste into the editor

    Click the text box above, select the sample text and paste. Line breaks from your file become new lines in the artwork.

  3. 3

    Choose a font and canvas width

    Pick a font and set the size. Long lines wrap at the canvas width you select — Mobile, Tablet, A4, Desktop, or Auto for no limit.

  4. 4

    Download the SVG

    Press “Download SVG” or “Copy SVG Code”. The text is exported as path outlines, so no font is needed to display it.

What plain text becomes in SVG

A .txt file stores only characters — no font, size or color. The converter adds those choices and then draws each character as a path. The result is a graphic, not a text document, so it is a good fit for signs, labels, captions, code snippets and short quotes rather than long documents.

Monospace JetBrains Mono is preselected on this page because it keeps columns aligned, which suits code or tabular text. Switch to any other font whenever you like.

Tips for converting text from a file

  • Keep it short. Every character becomes path data, so a few lines produce a small file, while pages of text produce a large one.
  • Check special characters in the preview. A font can only draw characters it contains.
  • Chinese and Japanese characters that the bundled fonts lack are drawn with a fallback font that loads only when needed. Korean (Hangul) is not covered by that fallback.
  • Arabic and Devanagari text is drawn with bundled Noto fonts when the selected font has no glyphs for it. Other scripts, such as Hebrew or Thai, need an uploaded font that covers them.
  • Your pasted text is processed in the browser and is not uploaded.

Other places to use the result

The SVG opens in browsers, Inkscape, Figma and Illustrator. Use the transparent background option if you want to place it over other artwork, or download a PNG or PDF if the target does not accept SVG.

TXT to SVG FAQ

Want to use your own font file? Go back to the font to SVG converter.