2 uses 1 likes
How to use
Input

Lines to format

0 lines
Processed as plain text · stays in your browser · 250k max
Output

Formatted lines

Your output is ready when you are Paste lines on the left, then add a prefix, suffix, or wrapper.
Start by adding a few lines.
Developer code

Live code for the current input

Uses the text in Input and only the formatting options currently enabled in Settings.

Browser / Node.js Current settings synced
Live generator: edit Input or any Settings option and this code updates instantly with the new values.

Add a prefix or suffix to every line without editing them one by one.

This line formatter is made for lists. Paste one item per line, choose what you want to add before or after each line, and the finished text appears straight away. You can also remove blank lines, trim extra spaces, add numbering, or wrap each value in quotes, brackets, HTML tags, and other common formats.

What you can do

Handle repetitive line formatting in one pass.

Add text to every line

Use a prefix, a suffix, or both. It works well for building URLs, adding command flags, preparing filenames, creating markup, or adding the same text around a long list.

Wrap lines quickly

Quick wrappers fill the Prefix and Suffix fields for you. Choose quotes, backticks, brackets, parentheses, braces, HTML tags, Markdown formatting, commas, or semicolons.

Clean the list as you format it

Remove empty rows and trim spaces at the start or end of each line before the prefix, suffix, wrapper, or number is added.

Use the result right away

Check the output as you type, then copy it or download it as text. The line counters make it easy to see how many rows were kept, changed, or removed.

Settings explained

Choose only the options you need for this list.

Use maximum width

Gives the Input and Output areas more horizontal room. Turn it on when you are working with long URLs, code, commands, or other wide text.

Compact spacing

Tightens the vertical spacing so more of your list stays visible on screen.

Prefix

Adds text to the beginning of every processed line. For example, use https://example.com/ before a list of page slugs.

Suffix

Adds text to the end of every processed line. A suffix can be a query string, punctuation, a closing tag, or any text you need repeated.

Quick wrappers

Sets a matching prefix and suffix with one click. You can choose a preset first and then edit either field if you need a small variation.

Remove blank lines

Leaves empty rows out of the result. The stats rail shows how many blank lines were removed.

Trim each line

Removes spaces and tabs from the beginning and end of each line before the formatting is applied.

Add numbering

Adds a running number before each output line. Numbering works together with prefixes, suffixes, wrappers, trimming, and blank-line removal.

Number start

Sets the first number in the sequence. Use 0, 1, or another starting value that fits your list.

Separator

Controls what appears between the number and the line, such as . , ) , - , or : .

Example
product-alpha→https://example.com/product-alpha?source=docs

For this result, set the Prefix to https://example.com/ and the Suffix to ?source=docs. Every line is updated the same way, and the Developer code section uses those settings too.

Tip

If you format the same kind of list often, save it as a named set. Next time, you can restore the setup instead of entering the same options again.