Encode a word
Hello
籑籮籵籵籸
Each Latin letter lands in the CJK Unified Ideographs block, so the result looks like Chinese text.
Rotate text across the whole Unicode range with ROT8000. Latin text turns into CJK characters, and running it again brings the original back.
Every ROT variant
Hello
籑籮籵籵籸
Each Latin letter lands in the CJK Unified Ideographs block, so the result looks like Chinese text.
Hello World
籑籮籵籵籸 籠籸类籵籭
Whitespace is excluded from the rotation, so word breaks survive.
籭籮籿簻簽籀 籽籸籸籵籼
dev247 tools
Running ROT8000 on its own output returns the original text.
ROT8000 is ROT13 for Unicode. Instead of rotating 26 letters by 13 places, it takes every usable character of the Unicode Basic Multilingual Plane (63,404 characters) and rotates each one by half of that, 31,702 places. The idea comes from the open-source rot8000 project.
Because the rotation is exactly half the size of the character set, ROT8000 is its own inverse: the same operation encodes and decodes, just like ROT13 and ROT47.
ROT8000 skips characters that are invisible, break lines or cannot stand alone, so the output stays printable and spaces still separate words:
| Excluded | Code points | Why |
|---|---|---|
| Control characters and space | U+0000–U+0020, U+007F–U+00A0 | Invisible or layout characters (including the no-break space) |
| Unicode spaces | U+1680, U+2000–U+200A, U+202F, U+205F, U+3000 | Whitespace in other scripts |
| Line and paragraph separators | U+2028–U+2029 | Line breaks |
| Surrogates | U+D800–U+DFFF | Not characters on their own |
Everything else in U+0021–U+FFFF is rotated, which leaves 63,404 characters. Characters outside the Basic Multilingual Plane, such as most emoji, are left unchanged.
About two thirds of the rotated range is the CJK (Chinese, Japanese and Korean) part of Unicode. Rotating the basic Latin letters by 31,702 places lands them in the CJK Unified Ideographs block, around U+7C00. For example, H (U+0048) becomes U+7C51. The result is a string of real CJK characters that mean nothing together.
| ROT13 | ROT47 | ROT8000 | |
|---|---|---|---|
| Characters rotated | 26 letters | 94 printable ASCII | 63,404 Unicode characters |
| Shift | 13 | 47 | 31,702 |
| Digits and symbols | Unchanged | Rotated | Rotated |
| Non-English text | Unchanged | Unchanged | Rotated |
| Self-inverse | Yes | Yes | Yes |
ROT8000 output has the same number of characters as the input, but it is longer in bytes: a Latin letter is 1 byte in UTF-8, while a CJK character is 3 bytes.
ROT8000 is not encryption. The algorithm is public and has no key, so anyone with a ROT8000 tool can read the text. It is a fun way to obfuscate, not to protect data.
// Valid ranges: true = valid from this code point, false = invalid from itconst T = { 33: true, 127: false, 161: true, 5760: false, 5761: true, 8192: false, 8203: true, 8232: false, 8234: true, 8239: false, 8240: true, 8287: false, 8288: true, 12288: false, 12289: true, 55296: false, 57344: true }; const valid = [];for (let i = 0, on = false; i < 0x10000; i++) { if (i in T) on = T[i]; if (on) valid.push(i);}const half = valid.length / 2; // 31702const map = new Map(valid.map((cp, i) => [cp, valid[(i + half) % valid.length]])); const rot8000 = (s) => [...s].map((ch) => (map.has(ch.codePointAt(0)) ? String.fromCharCode(map.get(ch.codePointAt(0))) : ch)).join('');The output shows empty boxes instead of characters
Your device has no font for some of the rotated characters. The text is still correct: copy it and decode it, and the original comes back.
Another ROT8000 tool gives a different result
A few implementations use different ranges of valid characters. This tool follows the original rot8000 project. If both texts decode to the original in their own tool, they simply use different character tables.
Emoji did not change
Most emoji are outside the Basic Multilingual Plane (above U+FFFF), which ROT8000 does not rotate.
Apply ROT8000 again. It rotates by exactly half of its 63,404 characters, so doing it twice returns every character to where it started.
Most of the rotated range is CJK characters, and a rotation of 31,702 places moves the Latin alphabet into the CJK Unified Ideographs block.
No. All kinds of whitespace and line separators are excluded, so the shape of the text stays the same.
No. It is a public, keyless rotation, so anyone can reverse it. Use it for fun or light obfuscation only.
No. The rotation runs entirely in your browser.
Free, private developer tools that run in your browser. No signup, nothing uploaded, no waiting.
Tip: press Ctrl D to bookmark dev247.