Bulk line formatter

Add a Prefix and Suffix to Every Line

Apply the same text to the beginning and end of every non-empty line. This is faster and less error-prone than editing spreadsheet cells or text rows one at a time.

No upload Free to use Works on mobile

Format tool

Add Prefix and Suffix

Options

Formatted lines

0 results

How to use Add Prefix and Suffix

1

Enter the lines

Paste any column, list, identifiers, or paths with one value per line.

2

Set surrounding text

Enter text to add before every value, after every value, or both.

3

Export the batch

Copy the formatted lines or download them as a text file.

Common uses

Build URLs

Add a domain before slugs or query parameters after IDs.

Format code

Add quotes, commas, bullets, HTML tags, or syntax to rows.

Rename assets

Apply consistent naming fragments to file and image lists.

Add Prefix and Suffix FAQ

Can I add only a prefix? +

Yes. Leave the suffix empty, or leave the prefix empty when only trailing text is required.

Are empty lines changed? +

No. Empty lines are removed from the output instead of receiving a prefix or suffix.

Can I wrap every line in quotation marks? +

Yes. Enter the same quote character as both the prefix and suffix.

Keep working

Related list tools