How to Use the Invisible Whitespace Visualizer
Invisible whitespace characters buried in code or documents are a common source of subtle bugs and formatting issues. Paste your text and this tool converts regular spaces to ·, tabs to →, and full-width spaces (U+3000, common in CJK documents) to □, making every hidden character visible at a glance. It also counts each type of whitespace and reports how many lines have unwanted trailing whitespace, so you can quickly track down formatting problems that are otherwise hard to spot.
Useful for
- Checking for mixed tabs and spaces in code
- Detecting full-width spaces hidden in pasted documents
- Finding the source of diff or formatting errors caused by trailing whitespace
- Cleaning up unnecessary spaces before sending an email or post
Frequently Asked Questions
Regular spaces are shown as ·, tabs as →, and full-width spaces (U+3000) as □, along with a count of each.
Yes, it reports how many lines have trailing spaces or tabs at the end.
No, it only displays a visualized version on screen — your original input stays unchanged.