ROT13 Encoder & Decoder
Transform text with ROT13, a 13-position Caesar cipher that is its own inverse, so the same operation both encodes and decodes.
How to use this tool
- 1
Type or paste your text into the input box.
- 2
Read the transformed result in the output panel directly below as you type.
- 3
Click Copy to put the result on your clipboard, then paste it wherever you need it.
- 4
To decode ROT13 text, paste it into the same input box; running ROT13 again restores the original.
What is ROT13 and how does it work?
ROT13 ('rotate by 13 places') is a simple letter-substitution cipher, a specific case of the Caesar cipher with a fixed shift of 13. Each of the 26 letters is replaced by the letter 13 positions later in the alphabet, wrapping around from Z back to A: A becomes N, B becomes O, and so on. Because 13 is exactly half of 26, applying the transformation a second time shifts each letter another 13 positions and lands back on the original letter, which makes ROT13 self-inverse: a single function both encodes and decodes. This tool implements ROT13 on the basic Latin alphabet only. It shifts uppercase A to Z and lowercase a to z while preserving case, and it leaves everything else untouched: digits, spaces, punctuation, line breaks, and any accented or non-Latin characters pass through unchanged. ROT13 has roots in Usenet culture, where it was a convention for hiding spoilers, puzzle answers, and offensive jokes so readers had to deliberately decode them. It offers no cryptographic security whatsoever; the key is fixed and public, so anyone can reverse it instantly. Think of it as light obfuscation or a reversible scrambling trick, not encryption.
Common use cases
Hide a spoiler, plot twist, or puzzle answer in a forum or chat so readers must deliberately decode it.
Reproduce or decode classic Usenet and newsgroup posts that used ROT13 to mask punchlines and offensive jokes.
Teach students the Caesar cipher and modular arithmetic with a concrete, self-inverse example.
Lightly obfuscate a hint or answer key in documentation or a quiz so it is not readable at a glance.
Decode ROT13 strings you encounter in CTF challenges, crackmes, or programming exercises.
Quickly scramble a short note in a non-sensitive context where you only need casual concealment, not real security.
Frequently asked questions
Is ROT13 secure encryption?▼
Why is there no separate decode button?▼
What happens to numbers, spaces, and punctuation?▼
Does it handle accented or non-English letters?▼
Is my text uploaded to a server?▼
How is ROT13 different from ROT47?▼
Related tools
Bcrypt Hash Generator
Generate bcrypt password hashes (client-side).
HMAC Generator
Generate HMAC signatures with SHA-256, SHA-1, MD5.
AES Encryption
Encrypt and decrypt text with AES-256 in your browser.
2FA QR Code Generator
Generate TOTP/2FA QR codes for authenticator apps.
Password Strength Tester
Test password strength against entropy and dictionaries.
Caesar Cipher Encoder
Encode and decode Caesar cipher with custom shifts.