Line Prefix & Suffix Tool
Add text to the beginning or end of every line instantly. Free online list formatting tool for developers.
Result:
How to add Prefix and Suffixes?
Paste your list into the main text box. Then, specify the exact text you want added to the beginning (prefix) or the end (suffix) of every line. Click the button to apply it instantly to hundreds of lines.
Example
Adding prefix - to three lines of items turns them into a Markdown bullet list instantly.
Use Cases
- Programming: Wrap a list of words in quotes and commas (e.g., prefix:
"and suffix:",) to create a JSON array or SQL list. - Formatting: Add bullet points (e.g., prefix:
-) to a raw text list for markdown files. - Data Entry: Append domain names or extensions to a list of usernames.
FAQs
How do I add a prefix to text?
Paste your text or list into the box, type the text you want at the start of every line into the "Prefix" field, and click "Apply Prefix & Suffix". To add a prefix to text without a suffix, just leave the suffix field empty.
Can I add both a prefix and suffix at once?
Yes, set both fields and they'll be applied to every line simultaneously.
