Astronomical Code Logo

Astronomical Code

Toolbox

Add Prefix or Suffix

Add custom prefix, suffix, or both to every line in your text

About this tool

This tool adds a custom prefix, suffix, or both to every line in your text. It's perfect for formatting lists, adding comments to code, preparing data for specific formats, or creating markdown-formatted content. You can choose to skip empty lines during processing.

All processing happens in your browser — your data never leaves your device.

Settings

Input Text

Output

We value your privacy

We use cookies to enhance your browsing experience, serve ads, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.