ROT13 Encoder & Decoder
Apply ROT13, a simple letter cipher that rotates each letter 13 places. Because 13 is half of 26, running ROT13 twice returns the original, so the same button encodes and decodes.
About this tool
Apply ROT13, a simple letter cipher that rotates each letter 13 places. Because 13 is half of 26, running ROT13 twice returns the original, so the same button encodes and decodes.
Example
Input: Hello
Output: Uryyb
Privacy
This tool runs entirely in your browser. Your data is processed locally and never uploaded to a server.
How to use this tool
- Paste or type the text you want to change into the input box.
- Click the ROT13 button to apply the letter shift.
- Use the same button again if you want to switch the result back to the original text.
- Copy the transformed text from the output area.
Step by step, what happens
- The tool reads your text one character at a time.
- It changes only letters, rotating each A to N, B to O, and so on for both uppercase and lowercase.
- Non-letter characters such as spaces, numbers, punctuation, and symbols stay exactly the same.
- Because ROT13 is its own inverse, running the tool again on the result restores the original text.
Worked example
If you enter a short note like a hidden reminder, the tool will rotate only the letters and leave the rest untouched.
Input: Hello, world!
- The tool shifts each letter 13 places through the alphabet.
- The comma, space, and exclamation mark are left as they are.
- The encoded text is ready to copy or run through ROT13 again to decode.
Output: Uryyb, jbeyq!
Tips and common mistakes
- Uppercase and lowercase letters are handled separately, so the tool preserves the original case.
- If your text already looks scrambled, applying ROT13 again will return it to readable form.
- Numbers, punctuation, and spaces are not changed, so only the letters will look different.
- ROT13 is not encryption for privacy, so do not use it for secrets you need to protect.
Frequently asked questions
What is ROT13?
ROT13 replaces each letter with the one 13 positions later in the alphabet. It is a classic, very weak cipher used to hide spoilers, not for security.
How do I decode ROT13?
Apply ROT13 again, it is its own inverse.
Are numbers changed?
No, only letters A-Z and a-z are rotated; digits and symbols stay the same.
More Developer Tools Tools
Explore related calculators in this category
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
API Key Generator
Generate random, secure API keys and tokens with an optional prefix. Cryptographically secure.
Apache Log Parser, Free Online Developer Tool
Parse Apache/NGINX combined access log lines into IP, time, request, status and size fields. Get instant results, the formula, and a clear example.
Barcode Validator
Validate EAN-13, EAN-8 and UPC-A barcode numbers using their check digit.
You Might Also Like
Popular tools from other categories
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
A1C Calculator - Free Online
Free Convert between A1C percentage and estimated average glucose. Step-by-step solutions and formulas included. Simple, fast, and free.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.