Text Tools

Line Tools

All tools

Small line-by-line edits, like numbering or adding a bullet to every row, without a spreadsheet.

How it works

Four simple steps

1

Paste the lines

One item per row, such as URLs, names or notes.

2

Choose an action

Number, prefix, suffix, reverse or filter non-empty.

3

Set the affix

Type the text to add for prefix or suffix actions.

4

Copy or chain

Copy the result, or paste it back in for another pass.

Line Tools

About Line Tools

You have a list of 60 URLs that each need a quote mark in front for a config array, or a set of meeting notes that should become a numbered list. Pick the action, set the text to add, and copy the result.

Five actions are available from the Action menu. Number lines puts "1. ", "2. " and so on in front of each line. Add prefix and Add suffix attach whatever you type in the Prefix/suffix box (a dash and a space by default) to the start or end of every line. Reverse lines flips the order so the last line comes first. Filter non-empty drops lines that are blank or contain only spaces. The status shows the resulting line count.

One action runs at a time, but you can chain them by pasting the output back into the input. To turn bare URLs into quoted array items, run Add prefix with a double quote, paste the result back in, then run Add suffix with a quote followed by a comma. Clean up blank lines first, since numbering and prefixes are applied to empty lines too.

For alphabetical order rather than a simple flip, use Sort Lines, and to drop repeated rows try the duplicate line remover. The other text cleanup tools cover case changes and counts. Every action runs on the text inside your browser.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

Not in a single run. Apply the prefix, paste the output back into the input, then switch the action to Add suffix.

The Number lines action always writes "1. ", "2. " and so on, starting at 1. Other formats like "1)" or a custom starting number are not available.

No. Every line gets a number, including empty ones. Run Filter non-empty first if blank rows should not be counted.

View more FAQs

Related tools

View all

Uppercase

Convert text to UPPERCASE.

Open

Lowercase

Convert text to lowercase.

Open

Sentence Case

Capitalize first letter of sentences.

Open

Title Case

Capitalize each word.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools