Skip to content
MyToolkit.pro

Text & lists

Remove empty lines

Delete blank and whitespace-only lines from a list, or collapse repeated blank lines into a single one. Optionally trim the spaces around each line. Your text stays in this browser.

Private by design: no text is uploaded or stored.

Private by design: no text is uploaded or stored.

Result — options

Try an example

Result

Updates when you clean or change an option.

Empty lines removed
0
Lines kept
0

Which option should I use?

Remove all empty lines deletes every blank line so the remaining lines sit together. Collapse multiple blanks keeps a single blank line wherever there were one or more, preserving paragraph breaks. Treat whitespace-only lines as empty also removes lines that contain only spaces or tabs. Trim spaces around each line strips leading and trailing whitespace from the lines you keep. Content lines are never removed — only blank lines are.

All in Text & Lists

Duplicate line remover

Remove duplicate lines from any list, with optional case-insensitive and whitespace-trimmed matching. Works entirely in your browser.

Text & Lists In your browser

Whitespace Normalizer

Collapse repeated spaces and tabs, trim lines, remove blank lines and tidy the whole document. Works entirely in your browser.

Text & Lists In your browser

Lines, words & characters counter

Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.

Text & Lists In your browser

Random Picker

Pick one or more random items from a list, with or without replacement. Private, fair selection entirely in your browser.

Text & Lists In your browser

Sort lines

Sort lines alphabetically, numerically, in natural order or by length. Reverse, ignore case and remove duplicates. Works entirely in your browser.

Text & Lists In your browser

List randomizer

Shuffle the order of any list randomly with an unbiased Fisher-Yates shuffle. Works entirely in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one