Prefix/Suffix Tool
Input
Chars: 0
Output
Items: 0
Tool Options
Affix text
Text added before each item. Leave empty to skip.
Text added after each item. Leave empty to skip.
Output separator
Options
What is the Prefix/Suffix Tool?
The prefix/suffix tool is a free, browser-based utility that adds the same text before (prefix) and after (suffix) every item in a list. Paste a column of names, words, or data and instantly wrap each line — turn "apple" into "- apple", "Hello" into ("Hello"), or "Smith" into "Mr. Smith". Everything runs locally in your browser, so your data never leaves your device.
It is one of the fastest ways to add a prefix and suffix to every line online without touching spreadsheet formulas or writing scripts.
Add a Prefix or Suffix to Lines
- Prefix: Text placed before each line — bullets like "- ", URLs like "https://", or opening brackets/quotes.
- Suffix: Text placed after each line — commas, semicolons, closing brackets/quotes, or file extensions.
- Leave either field empty to add only a prefix or only a suffix.
How to Add Prefix and Suffix Online
- Paste your list into the input with one item per line.
- Enter a prefix and/or suffix to wrap each line.
- Pick an output separator — newline, comma, comma + space, space, or custom.
- Toggle trim list items or remove empty items, then Copy or Download the result.
Common Use Cases
- Creating Markdown bullet lists with "- " or "* " prefixes.
- Wrapping lines in HTML tags, parentheses, brackets, or quotes.
- Adding "Mr./Ms." prefixes or unit suffixes like "kg" to a list of names or values.
- Building comma- or semicolon-separated output from a column of data.
- Prefixing a list of keywords with "https://" to build URLs.