Free online tool to add a custom prefix and suffix to every line of text instantly. Perfect for bulk text processing, wrapping lines in HTML tags, generating email addresses, formatting SQL values, and creating Markdown lists. No login required — 100% free and private.
Options
Follow these simple steps to add text before and after each line. It takes just seconds — no technical knowledge required.
Enter your text in the input box above, with each item on a separate line. You can also click "Upload .txt file" to load text from a file.
Type the text you want to add before each line in the Prefix field, and the text to add after each line in the Suffix field. Use the checkboxes to add optional spaces.
Press the button to process your text. Every non-empty line will be wrapped with your prefix and suffix instantly.
Your formatted text appears in the Output box. Click "Copy" to copy it to your clipboard or "Download" to save it as a .txt file.
A fast, private, and reliable text tool built by professional developers at CoderDesign Toronto. Here is what makes it different.
Add prefixes and suffixes to thousands of lines in a single click. No waiting, no server uploads — everything runs instantly in your browser.
Your text never leaves your device. All processing happens locally in your browser. No data is stored, sent to servers, or tracked.
Use this tool on desktop, tablet, or mobile. Compatible with Chrome, Firefox, Safari, Edge, and all modern browsers — no installation needed.
Upload .txt files directly and process them instantly. Download your formatted output as a file when you are done.
Perfect for wrapping lines in HTML tags, generating SQL values, formatting CSV data, and creating Markdown lists. A developer's everyday tool.
Start using the tool immediately. No login, no account creation, no email required. Just paste your text and get results.
See how developers, marketers, and data analysts save hours of manual editing.
Turn a list of usernames into email addresses by adding a prefix like "info+" and a suffix like "@yourcompany.
Input
john.doe emma.watson mark.smith
Settings
Prefixinfo+
Suffix@company.com
Output
info+john.doe@company.com info+emma.watson@company.com info+mark.smith@company.com
Convert a plain text list into HTML list items, table cells, paragraph tags, or any other HTML element by adding opening and closing tags.
Input
Home About Services
Settings
Prefix<li>
Suffix</li>
Output
<li>Home</li> <li>About</li> <li>Services</li>
Format data for SQL queries by wrapping each value in quotes and adding commas.
Input
Toronto Vancouver Montreal
Settings
Prefix('
Suffix'),
Output
('Toronto'),
('Vancouver'),
('Montreal'),Turn any list into a Markdown checklist, bullet list, or numbered list by adding the appropriate prefix.
Input
Review PR #42 Update docs Deploy to staging
Settings
Prefix- [ ]
No suffix
Output
- [ ] Review PR #42 - [ ] Update docs - [ ] Deploy to staging
Add a base URL as a prefix to generate full URLs from a list of page slugs.
Input
ai-seo-guide how-to-build-mvp ai-automation-roi
Settings
Prefixhttps://coderdesign.com/blog/
No suffix
Output
https://coderdesign.com/blog/ai-seo-guide https://coderdesign.com/blog/how-to-build-mvp https://coderdesign.com/blog/ai-automation-roi
Wrap values in quotes for CSV compatibility.
Input
Product A Product B Product C
Settings
Prefix"
Suffix",
Output
"Product A", "Product B", "Product C",
Everything you need to know about adding prefix and suffix to text. Can't find what you're looking for? Contact us.
Discover more free online tools built by CoderDesign — all instant, private, and no sign-up required.
Need a custom tool or web application? Let's discuss your project.