- TextToSVG
- TXT to SVG
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.
How to convert TXT to SVG
- 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
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
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
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
Not yet. Open the file in a text editor, copy the text and paste it into the converter. This keeps everything in your browser.
Yes. Each line you paste becomes its own line in the artwork (empty lines are dropped), and lines longer than the selected canvas width wrap to the next line.
No. The text is converted locally in your browser and is not sent to a server.
It is built for short text such as titles, labels and quotes. Long passages create very large SVG files and are better kept as real text.
Whichever you select: a bundled font or one you upload. The SVG contains the letter shapes, so the font is not needed to view it.
The characters are exported as paths, not text. That is what keeps them looking identical everywhere, but it also means they cannot be selected or searched in the SVG.
Want to use your own font file? Go back to the font to SVG converter.