Skip to content

↑↓ navigate ↵ open Esc close Search runs locally

ROT8000 Encoder & Decoder Online

Rotate text across the whole Unicode range with ROT8000. Latin text turns into CJK characters, and running it again brings the original back.

  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up
The same operation encodes and decodes
0 chars
ROT8000
Runs in your browser. Nothing is uploaded. Tip: run it twice to get the original back

How to use the ROT8000 tool#

  1. Type or paste your text into the left box. The ROT8000 result appears on the right as you type.
  2. To decode, paste ROT8000 text the same way. Like ROT13, ROT8000 is its own inverse.
  3. Copy the result, or press the swap button to rotate it back.
  4. Compare with ROT13, ROT47 and the other variants in the panel under the tool.

Examples#

Encode a word

Input
Hello
Output
籑籮籵籵籸

Each Latin letter lands in the CJK Unified Ideographs block, so the result looks like Chinese text.

Spaces stay as they are

Input
Hello World
Output
籑籮籵籵籸 籠籸类籵籭

Whitespace is excluded from the rotation, so word breaks survive.

Decode ROT8000

Input
籭籮籿簻簽籀 籽籸籸籵籼
Output
dev247 tools

Running ROT8000 on its own output returns the original text.

What is ROT8000?#

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.

Which characters are rotated?#

ROT8000 skips characters that are invisible, break lines or cannot stand alone, so the output stays printable and spaces still separate words:

ExcludedCode pointsWhy
Control characters and spaceU+0000–U+0020, U+007F–U+00A0Invisible or layout characters (including the no-break space)
Unicode spacesU+1680, U+2000–U+200A, U+202F, U+205F, U+3000Whitespace in other scripts
Line and paragraph separatorsU+2028–U+2029Line breaks
SurrogatesU+D800–U+DFFFNot 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.

Why does the output look like Chinese?#

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.

ROT8000 vs ROT13 and ROT47#

ROT13ROT47ROT8000
Characters rotated26 letters94 printable ASCII63,404 Unicode characters
Shift134731,702
Digits and symbolsUnchangedRotatedRotated
Non-English textUnchangedUnchangedRotated
Self-inverseYesYesYes

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.

ROT8000 in code#

javascript
// 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('');

Common errors and fixes#

  • 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.

Frequently asked questions#

How do I decode ROT8000?

Apply ROT8000 again. It rotates by exactly half of its 63,404 characters, so doing it twice returns every character to where it started.

Why does ROT8000 turn English into Chinese characters?

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.

Does ROT8000 change spaces and line breaks?

No. All kinds of whitespace and line separators are excluded, so the shape of the text stays the same.

Is ROT8000 secure?

No. It is a public, keyless rotation, so anyone can reverse it. Use it for fun or light obfuscation only.

Is my text uploaded?

No. The rotation runs entirely in your browser.

Your next tool is one search away.

Free, private developer tools that run in your browser. No signup, nothing uploaded, no waiting.

Browse all tools

Tip: press Ctrl D to bookmark dev247.