Add Text to Start and End of Lines
Adds a prefix and a suffix to each line, for example a bullet, a trailing comma or quotes around each line.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Handy for developers who need to wrap a list of product codes as 'SP01', for a SQL query, or for marketers who want a bullet or emoji in front of every point before posting.
Blank lines are left alone and get no added text. Type \t in a box to insert a tab, which is useful when you want each line to become a multi-column row you can paste into Excel.
How to use
- Paste your text into the left box.
- Enter the text to add at the start and end of each line.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
Add Line NumbersAdds a sequence number at the start of each line in styles like 1. 1) 01, skips blank lines, or removes existing line numbers.Join Lines into OneMerges several lines into one line with a separator of your choice, keeping paragraph breaks if you like. Fixes text copied from a PDF with broken lines.
More Text tools
Show Hidden Characters and WhitespaceShows spaces as dots, tabs as arrows, line breaks as pilcrows, and points out non-breaking spaces and zero-width characters.Split Text into LinesSplits a string by comma, semicolon or any character you choose, putting each part on its own line.Find and Replace TextFinds and replaces text in bulk, with case-sensitive matching, whole-word matching and regular expressions.Wrap Text at a Set Line LengthBreaks long text into lines of no more than the number of characters you choose, without cutting words.Normalize Vietnamese UnicodeConverts Vietnamese text in decomposed form (separate accent marks, common when copying from macOS or PDF) to precomposed form so search and sorting work correctly.Replace Smart Quotes with Straight QuotesConverts curly double quotes, curly single quotes, long dashes and ellipsis characters into plain typed characters, avoiding errors when pasting into code.
See all text tools