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.
Add Prefix / Suffix Features
- Runs entirely in your browser
Add Prefix / Suffix processes everything client-side — nothing you paste, type, or upload is sent to a server.
- Free, instant, no sign-up
No account, no usage limits, no paywall. Results update as you type or click.
- Prepend or append any text to every line at once
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.
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
Practical Uses for Add Prefix / Suffix
- Turn a list of domains into full https:// URLs
- Wrap CSV values in quotes to build a SQL INSERT statement
- Add a file extension to a batch of exported filenames
- Wrap each line in HTML tags for a quick web page list
- Add a common tracking parameter to a list of URLs
- Prefix a list of IDs with a table or namespace identifier
Who Uses the Add Prefix / Suffix Tool
- Developers wrap plain values in quotes, brackets, or tags to build SQL statements, arrays, or HTML in bulk.
- Marketers add UTM parameters or a common suffix to a batch of campaign URLs.
- SEO professionals add https:// or www. prefixes to a list of raw domains pulled from a backlink report.
- Content managers wrap plain list items in HTML or Markdown tags before pasting into a CMS.
- Data analysts add table prefixes or file extensions to batch-exported filenames.
Comparisons
Add Prefix/Suffix vs Find & Replace
Add Prefix/Suffix is a specialized shortcut for one specific job: adding the same text to the start and/or end of every line. It's faster to set up than Find & Replace for that particular task, since there's no pattern to write — just type the prefix and suffix and go.
Find & Replace is more general-purpose: it can change text anywhere in a line, not just at the edges, and supports regex for conditional or pattern-based replacements. Use Add Prefix/Suffix for simple wrapping tasks, and reach for Find & Replace when you need to match or transform text in the middle of each line.
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.
Can I add UTM tracking parameters to a list of URLs?
Yes — set the suffix to your UTM query string, e.g. '?utm_source=newsletter&utm_medium=email', and it will be appended to every URL in the list.
Can I turn a list of raw domains into full URLs with https://?
Yes — paste your domains one per line and set the prefix to 'https://'. If some already include a protocol, remove those separately first to avoid double prefixes.
Can I wrap each line in Markdown link syntax?
Partially — set the prefix to '[' and complete the ']()' portion per line manually, since the tool doesn't insert a second value automatically. For fully automated Markdown link generation, use Find & Replace with a regex capture group instead.
Related Tools
Ready to use Add Prefix / Suffix?
It's free, runs entirely in your browser, and there's nothing to install or sign up for.
Scroll up & try it now ↑