Add Prefix and Suffix is a fast online formatter for text lists. Paste your values or upload a TXT file, split by newline, tab, space, comma, or semicolon, and add custom text before and after each item. Sort the output and export as TXT, CSV, or JSON in seconds.
The Add Prefix and Suffix tool lets you format every line in a list by adding custom text at the start, end, or both. It is useful for preparing data for spreadsheets, SQL snippets, URLs, code, labels, and HTML markup.
The Add Prefix & Suffix tool allows you to:
To use the tool:
.txt file into the input box.Input:
apple
banana
cherry
Prefix: fruit-
Output:
fruit-apple
fruit-banana
fruit-cherry
Input:
dog
cat
rabbit
Suffix: -pet
Output:
dog-pet
cat-pet
rabbit-pet
Input:
001
002
003
Prefix: ID-
Suffix: -2025
Output:
ID-001-2025
ID-002-2025
ID-003-2025
Input:
Home
About
Contact
Prefix: <li>
Suffix: </li>
Output:
<li>Home</li>
<li>About</li>
<li>Contact</li>
Tip: Wrap the output with <ul> and </ul> to create a complete unordered HTML list.
Paste your list, set prefix and suffix rules, and generate clean formatted output instantly. Add Prefix and Suffix Online helps you automate repetitive text formatting in seconds.