Prefix and Suffix Lines

Add text to the start or end of every line.

Prefix and Suffix Lines

.txt

Paste text or open a file to see the result.

What it does

Adds the same text to the start or end of every line. Handy for turning a list into bullet points, quoting lines, or wrapping values in quotes and commas for code. You get every line changed the same way.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Related tools

More in Text

Prefix and Suffix Lines questions

How do I use the Prefix and Suffix Lines?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.