Skip to main content

Whitespace Inspector

Inspect spaces, tabs, trailing whitespace, and final newlines locally. Text stays in your browser; line endings normalize to LF. Limits: 100,000 UTF-16 code units and 1,000 lines.

Spaces appear as ·, tabs as ⇥, and line breaks as ↵; trailing spaces and tabs are highlighted. The text area normalizes pasted line endings to LF. Other invisible Unicode characters are not marked. Text stays in this page and is not uploaded or saved. Maximum: 100,000 UTF-16 code units and 1,000 lines.

Whitespace report

Lines
3
Spaces
7
Tabs
1
Trailing lines
1

1 line ends with spaces or tabs. Text ends with a newline.

The preview marks regular spaces and tabs. A trailing highlight marks spaces or tabs before a line break or the end of the text.

  1. const·name·=·"Ada";··↵
  2. ⇥status·=·"ready"↵

Was this tool helpful?