Prefix and Suffix Tool
This tool adds a prefix, a suffix or both to every line of a list in one pass, with optional line numbering and blank-line handling. It turns a plain list into quoted values, HTML list items, SQL literals or bullet points in a single step.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the Prefix and Suffix Tool
- Paste your list with one item per line.
- Type the prefix, the suffix, or both.
- Enable numbering if each line should be labelled with its position.
- Copy the transformed list.
Example
apple banana
<li>apple</li> <li>banana</li>
Common use cases
- Wrapping a list of items in HTML tags such as <li> and </li>.
- Quoting values for a SQL IN clause or a JavaScript array.
- Adding a common path prefix to a list of file names.
- Turning a plain list into Markdown bullets by using "- " as the prefix.
Limitations and things to watch for
- The prefix and suffix are added literally; nothing is escaped. If you are building HTML or SQL from untrusted values, escape them properly in your application rather than relying on string concatenation.
- Blank lines are left untouched by default so list structure is preserved. Turn that option off to prefix them too.