Input (Text or ROT13)
Result
Result appears here...
100% Private
Everything runs locally in your browser. Nothing is uploaded.
ROT13 Encoder/Decoder rotates letters by 13 positions to encode or decode text online for free. A simple cipher that works both ways in your browser.
Written & reviewed by Helperzy Editorial Team · Updated July 2026
Input (Text or ROT13)
Result
Result appears here...
100% Private
Everything runs locally in your browser. Nothing is uploaded.
Type or paste whatever you want rotated. The same box handles both directions, since a second pass of ROT13 reverses the first one automatically.
The rotated output appears as you type, with letters shifted thirteen places and digits, spaces and punctuation left exactly as they were.
Copy the result into your forum post, spoiler tag or puzzle page. Paste it back in here later to confirm it decodes to what you intended.
ROT13 shifts every letter thirteen places along the alphabet. A becomes N, B becomes O, and by the time you reach N it wraps round to A again. Its whole reason for existing is politeness rather than secrecy: it hides text from a casual glance so a reader can choose whether to reveal it. Usenet newsgroups adopted it in the early 1980s for joke punchlines and film spoilers, and the convention survived into forums, puzzle communities, crossword sites and game wikis. If you have seen a comment that looks like keyboard mash next to the words spoiler below, this is what it was. The elegance is in the number. The Latin alphabet has 26 letters and 13 is exactly half of that, so shifting thirteen places twice returns you to where you started. Encoding and decoding are therefore the identical operation — there is no separate decode mode and no key to remember, which is why the same button handles both directions. Case is preserved, so an upper-case letter shifts to an upper-case letter and a lower-case one stays lower case. Everything that is not a letter passes through untouched: digits, spaces, commas, full stops, emoji, line breaks. Technically ROT13 is just a Caesar cipher with the shift fixed at 13, which is why it inherits the Caesar cipher's total lack of security. A worked example. Take the sentence: Spoiler: the butler did it. Each letter shifts thirteen places, so S becomes F, p becomes c, o becomes b, and the colon and spaces stay put. The output is Fcbvyre: gur ohgyre qvq vg. Now paste that result straight back into the same tool and it returns Spoiler: the butler did it, because the second thirteen-place shift completes the full 26 and lands on the original letter. Notice that the word the always becomes gur in ROT13 — that fixed pattern is exactly how anyone familiar with the cipher recognises it at a glance, along with a for n and vg for it. Where it turns up. A film reviewer posts a plot twist in ROT13 so people who have not watched yet can scroll past safely. A crossword blogger hides the answer to a tricky clue below the discussion. A quiz forum moderator encodes the solution so players can self-check without spoiling it for the thread. A programmer learning about ciphers implements ROT13 as a first exercise and checks their output against a known result. A game wiki editor hides a late-game item location so the page stays useful to first-time players. The point worth stating without hedging: ROT13 is not encryption and offers zero protection. Anyone can break it by eye, and the word gur gives it away in one second. Never put a password, a personal detail or anything you actually need kept private through it — people genuinely make this mistake and it is not a small one. It also cannot hide content from search engines, which index the encoded string as text. Non-Latin scripts pass through unchanged, so Hindi or Arabic text comes out identical to what you put in and gains no concealment at all. Use it for spoilers and puzzles, which is what it was designed for. One habit worth adopting: after encoding something you plan to post, paste the result back in and confirm it returns your original text, since a stray character copied from the wrong place is easy to miss and produces a decode that nobody reading the thread will be able to make sense of. The rotation runs in your browser, works offline once the page has loaded, and nothing you type is uploaded, stored or logged.
For each letter: output = ((position + 13) mod 26) mapped back to a letter position = 0 for A or a, 1 for B or b, up to 25 for Z or z mod 26 wraps the alphabet, so N (position 13) returns to A (position 0) Case is preserved and non-letters pass through unchanged Applying the shift twice gives (position + 26) mod 26 = position, which is why encoding and decoding are one step
Input
Spoiler: the butler did it
Result
Fcbvyre: gur ohgyre qvq vg
Every letter shifts thirteen places, so S becomes F and the becomes gur, while the colon and spaces are untouched; running that output through ROT13 again returns the original sentence.
Input
Fcbvyre: gur ohgyre qvq vg (the encoded output pasted back in)
Result
Spoiler: the butler did it
The second pass adds another 13, making 26 in total, and 26 mod 26 is 0 — so every letter lands back on itself and the original sentence returns with no separate decode mode needed.
ROT13 shifts each letter by 13 positions in the alphabet. A becomes N, B becomes O, and so on. Because the alphabet has 26 letters, applying ROT13 twice returns the original text, so encoding and decoding are the same operation.
Count words, characters, sentences, paragraphs & reading time. Supports PDF, DOCX, PPTX uploads. Multilingual — works with Hindi, Arabic, Chinese & more.
Text Repeater repeats any text multiple times online for free. Set custom separator and line breaks between repetitions.
Convert text to speech online for free. Multiple voices, adjustable speed and pitch. Listen to any text read aloud in your browser.
Find and replace text online for free. Supports regex, case-sensitive matching, whole word search, and undo history.
Image Resizer changes image dimensions online — set exact pixels, use percentage scaling, or pick from 12 presets (Instagram, Passport, YouTube, etc.). Target specific file sizes like 50KB or 100KB. Batch resize multiple images. 100% free, browser-based.
Image Converter changes images between any format online free — JPG, PNG, WebP, AVIF, PDF, ICO, BMP, HEIC, GIF, SVG. Batch conversion, resize, rotate, flip, AI format recommendation. 100% browser-based, no upload.
Convert JPG to WebP format online free — reduce image file size by 25-35% with identical visual quality. Batch conversion, adjustable quality, lossless mode available. Boost website speed and Core Web Vitals scores. 100% browser-based, no upload needed.
Convert PNG to WebP format online free — reduce file size by 26-34% while preserving full transparency. Batch conversion, lossless and lossy modes, adjustable quality. Boost website performance and Core Web Vitals. 100% browser-based, no upload needed.