Data Cleaner

What it does: cleans pasted text from a spreadsheet export, a website copy-paste, or a messy list — extra spaces, non-breaking spaces, invisible characters, blank lines, and (optionally) duplicate lines.

Privacy: this tool runs entirely in your browser. It makes no network requests and has no backend. Your pasted text is not uploaded. Closing the page discards it.

Before you paste it back into Excel or Sheets: check the output. This tool cleans text. It does not change a value's data type, so a cleaned number is still text until you convert it in the spreadsheet (for example, with VALUE() or Text to Columns). It also does not parse quoted CSV fields — commas inside quotes are not treated specially.

1. Paste messy text

Cleaning options

2. Cleaned result

3. What changed

No cleaning run yet.

Excel / Google Sheets equivalent

For one cell, the closest spreadsheet equivalent of the default options is:

=TRIM(CLEAN(SUBSTITUTE(A1, CHAR(160), " ")))

Order matters: this tool replaces non-breaking spaces before trimming and collapsing, mirroring the formula order above. If you turn off “Replace non-breaking spaces”, a line that looks empty but contains only CHAR(160) will not be treated as blank.

Limitations

← Back to home · Blank rows without deleting data →