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.
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.
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.
Yes — both fields are independent and can be used together. For example, prefix 'https://' and suffix '/index.html' to build full URLs.
Yes — set prefix to "<li>" and suffix to "</li>" to wrap every line in list item tags.
Set the prefix to '• ' (bullet followed by a space) and every line will start with a bullet character.
Yes — set the prefix to "INSERT INTO table (col) VALUES ('" and the suffix to "');" to wrap each value in an INSERT statement.
Yes — paste your filenames without extensions and set the suffix to '.png', '.csv', or any extension you need.
Yes — paste your domains and set the prefix to 'https://' to build full URLs in one step.
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.
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.
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.