Text & writing

List prefix & suffix

Add literal text before and after every line.

List prefix & suffix
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Normalises line endings and adds the literal prefix and suffix. Blank lines can be left untouched. No templates, code, regular expressions or markup are executed.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

One item per line
apple
pear
plum
Prefix
•
Suffix
Blank lines
Leave blank lines unchanged

Example result

• apple
• pear
• plum