String Inspector

Analyze text details

Open in workspace

String Inspector: Analyze text details. A free, browser-based tool from DevToolbox that runs entirely on your own device: no upload, no account, no tracking.

About the String Inspector

Count what is actually in a string: characters, words, lines, UTF-8 bytes, unique characters and anything outside ASCII. That is how you find the invisible character that broke a comparison.

Text is handled as Unicode throughout, so counts, transformations and comparisons behave correctly for accented characters, emoji and scripts beyond ASCII rather than assuming one byte per character.

What you can do with it

  • Text analyzer
  • Character counter
  • Word counter
  • Byte counter

How to use it

  1. Paste the text you want to work on.
  2. Choose the transformation or set the options you need.
  3. The result updates as you type.
  4. Copy the transformed text.

Questions

Why do characters and bytes differ?
ASCII characters take one byte in UTF-8, but accented characters take two, most CJK characters take three and emoji take four. If a field is limited by bytes rather than characters, that difference is the bug.
Is my data uploaded anywhere?
No. The tool is JavaScript that runs in the tab you already have open, and DevToolbox has no backend to send anything to. You can open the network tab and watch: after the page and its script load, nothing is sent while you work.

The String Inspector sits in String Tools, one of the 90 tools on DevToolbox.