Report

Help us improve this tool

Prefix Suffix Lines

Prepend and append text to every line of multi-line input with optional skip-empty-lines control.

O M T

Add a prefix and suffix to every line

Wrap each line of multi-line text with the same leading and trailing strings, handy for quoting log lines, building Markdown list markers, or wrapping values in brackets before CSV import.

How to use it

  1. Set the prefix and suffix strings (either can be empty).
  2. Paste or type your lines in the input area.
  3. Optionally skip empty lines so blank separators stay untouched.
  4. Copy the transformed output.

For fixed-width alignment instead of wrapping, use Pad Lines.

Frequently Asked Questions

Does it change line endings?

Output uses Unix newlines (\n) regardless of how the input was pasted.

Can I add only a prefix?

Yes. Leave the suffix field empty.

Where is data processed?

Locally in your browser; text is not sent to a server.