Add Prefix or Suffix to Lines

Wrap each line of a list with the same prefix and suffix.

Input

Processed on your device

How to use Add Prefix or Suffix to Lines

Add shared text to individual lines in a list. This is useful for wrapping entries in quotes or supplying an identical prefix for paths.

  1. Paste your lines and enter a Prefix, Suffix or both.
  2. Choose whether to apply them to empty lines, then inspect the result.
  3. Select Add and review the result.
Example input
Invoice-10
Invoice-2

Invoice-2
Invoice-3

Example use

Add a directory prefix to file names or surround short labels with quotes for a documentation example.

Output and compatibility

The tool inserts the text literally. It does not escape existing quotes, validate filenames or build a proper JSON or CSV structure.

Troubleshooting

If values can contain the wrapper characters, use a format-aware exporter instead of relying on the wrapped list.

Use CSV to JSON when you need properly formatted records instead of literal line wrappers.

Frequently asked questions

Will the tool add a space automatically?

Type the spacing you want as part of the prefix or suffix.

Can I leave one side blank?

Yes. Only the provided side is added.

Find a tool