String Inspector

Analyze strings: length, word count, character categories, Unicode code points, encoding

String Inspector β€” Deep-Dive Text Analysis with Character-Level Breakdown, Unicode Code Points, UTF-8 Encoding, Type Distribution, and Frequency Visualization

  1. Type or paste any text into the input field β€” the tool instantly begins analyzing every character. Unlike a simple character counter, the String Inspector provides forensic-level text analysis useful for developers, linguists, data scientists, and security researchers. Paste anything from a single emoji (want to know that 😊 is Unicode code point U+1F60A, encoded in UTF-8 as the 4-byte sequence F0 9F 98 8A?) to a multi-megabyte log file (want to see character type distribution and identify encoding anomalies?). The real-time analysis updates as you type, making it perfect for interactive exploration.
  2. Review the comprehensive analysis displayed in organized sections. Basic Statistics: total character count, byte length (in UTF-8 encoding), word count (Unicode-aware β€” correctly handles CJK text where 'words' aren't space-separated), line count, and average word length. Character Type Distribution: breaks down your text into categories β€” letters (further split into uppercase, lowercase), digits, whitespace characters (space, tab, newline, and Unicode whitespace), punctuation, symbols, and 'other' (control characters, private use areas). Each category shows both the absolute count and percentage, often with visual percentage bars for at-a-glance comparison.
  3. Explore the deep details: Unicode Code Points β€” view each character as its U+XXXX hex code point with the Unicode character name (e.g., U+4E2D CJK UNIFIED IDEOGRAPH-4E2D for δΈ­). This is invaluable for debugging encoding issues β€” if you see unexpected U+FFFD (REPLACEMENT CHARACTER), you know encoding corruption has occurred. UTF-8 Byte Representation β€” see exactly how your text encodes to bytes, with highlighting for multi-byte sequences (2-byte, 3-byte, 4-byte UTF-8 sequences). Character Frequency β€” a sorted frequency distribution shows which characters appear most often, with horizontal bar charts for visual comparison β€” useful for text forensics, language detection, and data profiling. All analysis happens in your browser β€” your text, even if it contains sensitive data, passwords, API keys, or proprietary content, never leaves your device.

Enable JavaScript to use these tools.