QuickToolbox

Remove Empty Lines

Delete blank lines from pasted text, such as lists copied from spreadsheets or PDFs.

What counts as empty?

Privacy

Processing happens in your browser. Your text is not uploaded.

Frequently asked questions

What counts as an empty line?

A line with no characters. By default, a line that contains only spaces or tabs counts as empty too.

How do I keep lines that contain only spaces?

Turn off 'Treat whitespace-only lines as empty'. Only completely empty lines are then removed.

Does it change the lines that have text?

No. Lines with content are kept exactly as they were.

Can I load a file instead of pasting?

Yes. Use 'Upload file' or drag a text file onto the input box. The file is read in your browser and is not uploaded.

Related tools