Web Tools
Whitespace Visualizer
Reveal invisible characters in text: spaces, tabs, newlines, zero-width characters, and Unicode whitespace. Toggle visibility per category and see detailed statistics. Runs entirely in your browser — your data never leaves your machine.
whitespace invisible characters unicode zero-width debugging
Published May 30, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Paste text and the tool replaces invisible characters with visible symbols: spaces become middle dots, tabs become arrows, newlines get return symbols. Zero-width and Unicode whitespace characters are shown as labeled brackets.
Features
- 5 character categories: spaces, tabs, newlines, zero-width chars, Unicode spaces
- Toggle per category: show/hide each type independently
- Zero-width detection: ZWSP, ZWNJ, ZWJ, Word Joiner, BOM
- Unicode whitespace: NBSP, en/em space, thin space, hair space, ideographic space, and more
- CRLF awareness: distinguishes Windows (CRLF), Unix (LF), and classic Mac (CR) line endings
- Detailed statistics: count of each whitespace type, total invisible, total characters
- 5 examples: mixed indent, trailing spaces, zero-width chars, CRLF vs LF, Unicode spaces
- Private: runs entirely in the browser — no data transmitted
Use Cases
- Debugging invisible characters in code and config files
- Finding trailing spaces and mixed indentation
- Detecting zero-width characters in copied text
- Identifying line ending differences (CRLF vs LF)
- Spotting non-breaking spaces and other Unicode whitespace