How Convert UTF8 to UTF-9 Works
Convert UTF8 to UTF-9 implements the authentic RFC 4042 UTF-9 encoding for 36-bit architectures (such as the DEC PDP-10), packing Unicode scalars into 1, 2, or 3 nine-bit nonets using bit 8 as a clean continuation flag.
UTF-8 (RFC 3629) is the dominant variable-width character encoding of the web, representing every Unicode scalar value from U+0000 to U+10FFFF in 1 to 4 self-synchronizing bytes while remaining 100% backward-compatible with 7-bit ASCII. Every conversion and analysis in this tool executes locally inside your browser with zero server uploads, preserving full privacy and instant response times.
RFC 4042 9-Bit Nonet Continuation Bit
0x0000..0x00FF -> [0 | b0] (1 nonet = 9 bits) 0x0100..0xFFFF -> [1 | b1, 0 | b0] (2 nonets = 18 bits) 0x10000..0x10FFFF-> [1 | b2, 1 | b1, 0 | b0] (3 nonets = 27 bits)
Because 9 bits hold an entire 8-bit Latin-1 byte plus a 1-bit continuation flag, UTF-9 encodes ASCII and Latin-1 in 1 nonet, the entire BMP in 2 nonets, and all supplementary emoji in 3 nonets.
Worked Reference Examples
| Input | Output | Technical Note |
|---|---|---|
| é (U+00E9) | 351 (oct) / 0E9 (hex) | Only 1 nine-bit nonet! |
| € (U+20AC) | 440 254 (oct) | 2 nonets (18 bits) |
| 🌍 (U+1F30D) | 401 763 015 (oct) | 3 nonets (27 bits) |
Practical Developer & Systems Workflows
RFC 4042 & Computer Architecture Study
Explore how 9-bit byte machines simplify variable-width Unicode encoding.
Round-Trip Testing
Decode any UTF-9 octal, hex, or 9-bit binary output in Convert UTF-9 to UTF8.
Compatibility, Edge Cases & Best Practices
Octal (3 octal digits = exact 9 bits) is the traditional PDP-10 display notation used in RFC 4042.
Copy verified outputs directly to your clipboard or export clean UTF-8 files ready for source repositories, REST APIs, database migrations, protocol test suites, and systems debugging.