Prefix and suffix editor
Add or remove literal prefixes and suffixes on every line.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Enter a prefix, a suffix, or both.
- Add mode wraps every line; remove mode removes only an exact match at the corresponding edge.
- Blank lines are included.
Things to know
- Processing happens on your device. Check the result before replacing your original data.
- Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
- Line-based modes accept up to 100,000 lines, including a trailing empty line.
- Output is limited to 25 MiB of UTF-8 text. Shorten the input, separators or replacement settings if it exceeds the limit.
You might also need
More in text & listsRemove duplicate lines
Remove repeated lines while retaining their original order.
Anagram solver
Unscramble letters into dictionary words, using every letter or finding shorter words from the same letters.
Find and replace
Replace literal text or regular-expression matches throughout pasted text.
Remove extra spaces
Trim lines, collapse repeated spaces and remove blank lines.
Line filter
Keep or remove lines containing text, matching a pattern or meeting a length.
URL slug generator
Create URL-friendly slugs from titles while choosing ASCII or Unicode output.
Line-ending converter
Convert newline characters to LF, CRLF or CR and download exact bytes.
Delimiter converter
Turn lines or separated values into SQL lists, arrays and custom delimited text.
Text diff
Compare two texts and produce a readable unified line diff.