Text tool

Prefix Suffix Adder

Format a newline-separated block by adding the same text around each non-blank line, then copy or download the result.

In-browser processingNo account requiredPrivacy details ↗

Add text to every line

Up to 50,000 input characters, 200 characters per prefix or suffix, and 500,000 output characters. Blank lines stay blank; other line spacing is preserved.

Enter text and an optional prefix or suffix.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste up to 50,000 characters of text.
  2. Enter an optional prefix and suffix, each up to 200 characters.
  3. Add the text, then copy the result or download it as a plain-text file.

Line-based formatting

The tool applies the exact prefix and suffix to each line that contains a non-whitespace character. Blank or whitespace-only lines remain unchanged, and existing indentation and trailing spaces on non-blank lines are preserved.

Bounded local processing

Text is processed in this browser only. Input is limited to 50,000 characters, each affix to 200 characters, and the generated output to 500,000 characters. No line numbering, quoting, or automatic trimming is applied.

GOOD TO KNOW

Common questions

Can I use only a prefix or only a suffix?

Yes. Leave either field empty to add only the other value.

What happens to blank lines?

Empty and whitespace-only lines stay unchanged. Other lines retain their original spacing.

Is my text uploaded?

No. Formatting, copying, and downloading happen in your browser.