Text tool
Line Prefix
Paste a list and add the same text to the start or the end of each line.
Processed in your browser. The text is not sent to our servers.
How to add text to every line
- Paste one line per item.
- Enter the text to add, and choose the start or the end of each line.
- Click Add to lines and copy the result.
A list of names with "- " at the start becomes a dashed list. The same text at the end can add a suffix such as a file extension.
Frequently asked questions
Are blank lines kept?
Yes. A blank line still receives the text, so a list of gaps stays the same length.
Is the text uploaded?
No. The lines are changed in your browser.
Related text tools
Keep working without leaving the site.
Word counter
Count words, characters, lines, and sentences.
Open toolCase converter
Switch text to uppercase, lowercase, or title case.
Open toolSlug generator
Turn a title into a lowercase hyphenated slug.
Open toolLorem ipsum
Generate placeholder paragraphs for a draft or a layout.
Open toolRemove extra spaces
Collapse repeated spaces and trim each line.
Open toolSort lines
Put each line into alphabetical order.
Open toolRemove duplicate lines
Keep the first copy of a line and drop later repeats.
Open toolFind and replace
Replace every match, or use a regular expression.
Open toolReading time
Estimate how long the text takes to read.
Open toolShuffle lines
Reorder a list at random, or pick one line.
Open toolRemove line breaks
Join wrapped lines and keep a gap between paragraphs.
Open tool