ToolHub

Add Prefix & Suffix to Lines

Add text before and after every line of a list—handy for turning lists into code or Markdown. Everything runs in your browser.

Input
Output

FAQ

When is this useful?

Great for wrapping list lines in quotes, commas, or Markdown bullets to build code arrays or lists.

How are empty lines handled?

With 'Skip empty lines' on, empty lines are left untouched.

Is my text sent to a server?

No. Everything happens entirely in your browser.

Related tools