Prefix / Suffix Adder

Add text before or after each line instantly

How It Works

Enter your multi-line text above, provide a prefix and/or suffix, and click Apply. The tool processes each line individually and adds the specified text automatically.

Examples

Example 1 – Add Comma After Each Line

Input:
apple
banana
mango

Suffix: ,

Output:
apple,
banana,
mango,

Example 2 – Add Quotes Before and After

Prefix: "
Suffix: ",

Output:
"apple",
"banana",
"mango",

Example 3 – SQL Insert Builder

Prefix: INSERT INTO users (name) VALUES ('
Suffix: ');

Output:
INSERT INTO users (name) VALUES ('apple');
INSERT INTO users (name) VALUES ('banana');
INSERT INTO users (name) VALUES ('mango');