About Add Prefix / Suffix
The Add Prefix / Suffix tool lets you prepend or append any text to every line in your list at once. No manual editing. No formulas. Just paste your list, enter your prefix or suffix, and copy the result.
This tool is widely used for adding URL paths to domain names, adding file extensions to filenames, wrapping lines in HTML or Markdown tags, building SQL statements from a list of values, adding bullet characters or symbols, and creating shell commands in bulk.
You can add a prefix, a suffix, or both at the same time. The fields are independent, so any combination works.
Everything runs locally in your browser. Your data never leaves your device, and no account or sign-up is required.
How to Use Add Prefix / Suffix
Paste your list — one item per line.
Enter text in the Prefix field to prepend to every line.
Enter text in the Suffix field to append to every line.
Copy the transformed output.
Examples
Frequently Asked Questions
Can I add a prefix and suffix at the same time?
Yes — both fields are independent and can be used together. For example, prefix 'https://' and suffix '/index.html' to build full URLs.
Can I add HTML tags around each line?
Yes — set prefix to "<li>" and suffix to "</li>" to wrap every line in list item tags.
How do I add a bullet point to every line?
Set the prefix to '• ' (bullet followed by a space) and every line will start with a bullet character.
Can I use this to build SQL INSERT statements?
Yes — set the prefix to "INSERT INTO table (col) VALUES ('" and the suffix to "');" to wrap each value in an INSERT statement.
Can I add a file extension to a list of filenames?
Yes — paste your filenames without extensions and set the suffix to '.png', '.csv', or any extension you need.
Can I add a URL protocol to a list of domains?
Yes — paste your domains and set the prefix to 'https://' to build full URLs in one step.