Analyze which Unicode ranges pasted text uses and compare its UTF-8, UTF-16, and UTF-32 storage sizes.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The browser has already decoded the paste into a JavaScript string, so code points are grouped as ASCII, Latin-1, other BMP, or supplementary while TextEncoder measures UTF-8 bytes. UTF-16 is estimated as two bytes per code unit and UTF-32 as four bytes per code point; this cannot recover the original byte encoding.
Hello, World!
=== Encoding Analysis === BOM: None detected === Character Distribution === Total code points: 13 ASCII (U+0000-U+007F): 13 (100.0%) Latin-1 (U+0080-U+00FF): 0 (0.0%) BMP (U+0100-U+FFFF): 0 (0.0%) Supplementary (U+10000+): 0 (0.0%) Whitespace characters: 1 === Encoding Compatibility === Compatible with: ASCII, UTF-8, Latin-1, UTF-16, UTF-32 Recommended encoding: ASCII or UTF-8 === Size Estimates === UTF-8: 13 bytes UTF-16: 26 bytes UTF-32: 52 bytes
Developers check seven-bit compatibility, database migrations compare storage estimates, and import investigations locate a retained leading U+FEFF.