The ROT13 Encoder Decoder accepts up to 1,000,000 UTF-16 code units of non-empty text and rotates only ASCII A–Z and a–z by 13 positions.
For a large-text decoding task, paste the encoded block, select Apply ROT13, and use the same action again if you need to confirm the round trip. The transformation runs in the current browser tab, and no pasted input, transformed output, or clipboard content is uploaded to Lizely.
ROT13 encodes and decodes with the same operation because rotating the 26-letter alphabet by 13 positions twice restores every mapped letter. It is a reversible text transform, not a secure encryption method.

Decode a large ROT13 block in the browser
- Prepare the source text. Confirm that it is non-empty and contains the ROT13-encoded material you want to decode. If the source exceeds the tool’s limit, split it into manageable sections before continuing.
- Open the ROT13 Encoder Decoder and paste the text. The input may contain ASCII letters alongside digits, punctuation, whitespace, accented characters, CJK text, or emoji. Keep the source intact until you have reviewed the result.
- Select Apply ROT13. The browser displays the transformed output and a count of the ASCII letters that changed. This same action decodes ROT13 text and encodes ordinary text.
- Review the decoded output. If the pasted source was ROT13-encoded, the transformed text is its decoded form. Uppercase letters remain uppercase, lowercase letters remain lowercase, and characters outside the ASCII alphabets remain exactly as supplied.
- Copy the complete output. Use the copy control when clipboard access is available. If permission is denied, the full read-only output remains available for manual selection. Paste it into another editor to confirm that line breaks and special characters were retained.
- Optionally run a round-trip check. Apply ROT13 to the result again to recover the original encoded source exactly. With ROT13, the first pass changes each ASCII letter, and the second pass changes it back.
See exactly which characters change
A large document can contain several kinds of characters, but the ROT13 mapping is deliberately narrow. The tool operates on the two ASCII alphabets independently rather than using a locale-aware alphabet or changing character case.
| Input content | ROT13 result |
|---|---|
| Uppercase A–Z | Each letter moves 13 positions through the uppercase alphabet while remaining uppercase. |
| Lowercase a–z | Each letter moves 13 positions through the lowercase alphabet while remaining lowercase. |
| Digits, punctuation, spaces, tabs, and line breaks | Every character remains unchanged. |
| NUL | It remains unchanged and is treated as ordinary string data rather than a terminator. |
| Accented Latin letters, Greek, Cyrillic, Arabic, and CJK characters | They remain unchanged because they are outside the ASCII A–Z and a–z ranges. |
| Combining marks | The mark remains unchanged, although an ASCII base letter in the same sequence can change. |
| Emoji | The emoji remains unchanged, including its original UTF-16 surrogate pair. |
For example, café becomes pnsé: the ASCII letters c, a, and f are mapped, while é is preserved. The output always has the same length as the input in UTF-16 code units because every transformed ASCII letter is replaced by exactly one ASCII letter and every unmatched code unit is retained.
This distinction matters when a large file mixes scripts, symbols, whitespace, and emoji. ROT13 can decode the ASCII letters without normalizing punctuation, changing line endings, or altering characters outside its defined ranges.
Stay within the input-size boundary
The capacity limit is measured in UTF-16 code units, not bytes, visible characters, or complete grapheme clusters. An ASCII character uses one code unit, while an emoji represented by a surrogate pair uses two. A combining mark can also occupy a separate code unit from its base character.
| Input condition | Result |
|---|---|
| Empty input | Rejected with an error because the tool requires non-empty text. |
| Exactly 1,000,000 UTF-16 code units | Accepted and transformed in full. |
| 1,000,001 UTF-16 code units | Rejected before transformation with an explicit message. |
Nothing is silently sliced, sampled, shortened, or capped. If a block exceeds the boundary, split it into non-empty sections that each remain within the limit. Cut only at complete character boundaries so that supplementary characters such as emoji stay intact, decode each section separately, and then combine the outputs in their original order.
Because ROT13 maps each supported ASCII letter independently, this section-by-section workflow does not change the result. The sections still have to be pasted back into the input in the correct order; the tool does not merge separate files automatically.
Verify a large decoded result
The changed-letter count is a useful inspection signal. It reports exactly how many ASCII letters were mapped. Since every matched letter becomes a different ASCII letter, that count also equals the number of UTF-16 code-unit positions whose value changed. Unchanged digits, punctuation, whitespace, and Unicode characters do not inflate it.
A count of zero is not itself an error. Non-empty text containing no ASCII letters is valid and produces zero because there are no ROT13 mappings to apply. For a meaningful count, compare it with the number of ASCII letters expected in the source rather than with the total number of visible characters.
The strongest correctness check is the self-inverse property: apply ROT13 once to the decoded output and it should reproduce the original encoded source exactly, including all characters outside the ASCII alphabets. This also confirms that no section was lost or reordered during a split workflow. After editing the source, run the transformation again because editing clears the previous result and related status information.
For a compact alphabet-level reference while working with these steps, the ROT13 Decoder Cheat Sheet: ASCII Mapping and How to Use It provides a quick review of the mapping rules. For implementation-level verification, Python’s rot_13 codec documentation describes the operation as a string-to-string transform, while the CPython rot_13 source provides a direct alphabet-table cross-check.
Use ROT13 for obfuscation, not secrecy
ROT13 has no key and uses the same public substitution for everyone. Anyone who recognizes the format can reverse it immediately by applying ROT13 again. Its historical use includes casual spoiler obscuring, but that function should not be confused with confidentiality, authentication, integrity protection, hashing, or access control.
Do not use ROT13 to protect passwords, tokens, personal information, private messages, production configuration, or any other secret. Even a large document remains readable to anyone who applies the transform. Use an established, audited cryptographic system when genuine security is required.
The tool also does not implement arbitrary Caesar shifts, ROT5 for digits, ROT18, ROT47, Unicode transliteration, language-aware substitution, compression, or encryption. Use a Caesar Cipher tool when a configurable ASCII shift is needed, and choose an appropriate cryptographic tool when the objective is more than reversible casual obfuscation.
Related reading: Generate SHA256 Hash in Linux: Files and Text.