Back to Free Tools

FREE TOOLS

Whitespace Visualizer

Download reversible visible whitespace tokens and a complete code-point occurrence report without changing the source text.

Plain text, UTF-8 text file

Visible token text, JSON occurrence report

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter Text input or choose a UTF-8 text file (optional); a selected file takes precedence.
  • Select Visualize whitespace. Source order and non-whitespace data are retained; source backslashes double.
  • Select Download result for visible-whitespace.txt and Download whitespace-report.json for the complete occurrence, count and line-event report.

Examples

A tab becomes \u{0009}. A source spelling of that token doubles its backslash, preserving a reversible distinction.

Limitations

  • At most 200,000 UTF-16 input units and 100,000 whitespace occurrences; at most 8 MiB JSON, 4 MiB visible text and 30 seconds. A chosen UTF-8 file must also fit 5 MiB.
  • CRLF is two code-point occurrences and one line event. Lone CR/LF, NEL, line separator and paragraph separator each count as one line event. Vertical tab and form feed are occurrences, not inferred line events.
  • FEFF/BOM is not in the inspected set and remains data. Uploaded BOM and line endings are retained; textarea line endings normalize to LF. This is an inventory, not cleanup or a security verdict.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool