ROT13 Cipher
What is ROT13?
Result
How it is calculated
ROT13 replaces each letter with the letter 13 places later in the 26-letter English alphabet, wrapping around from Z to A: new = (position + 13) mod 26. Because 13 is exactly half of 26, applying the same operation twice returns the original text, so one tool both encodes and decodes. Uppercase stays uppercase and lowercase stays lowercase. Digits, spaces, punctuation and any letters outside A to Z, such as Turkish ç, ğ, ı, ö, ş, ü or accented letters, are left unchanged. ROT13 is a simple obfuscation, not encryption: it is used to hide spoilers or punchlines from a casual glance, and anyone can reverse it.
Worked example
Enter Hello, World! Take each letter in turn: H moves 13 places to U, e to r, l to y, l to y, o to b. The comma and space stay as they are. W becomes J, o becomes b, r becomes e, l becomes y, d becomes q, and the exclamation mark is untouched. The tool outputs Uryyb, Jbeyq!. Paste that back in and you get Hello, World! again.
Common mistakes
- Treating ROT13 as secure. It has no key and can be undone by anyone in seconds; never use it for passwords or private data.
- Expecting Turkish or other non-English letters to be shifted. Only the 26 letters A to Z change, so ç, ğ, ı, ö, ş and ü pass through unchanged.
- Expecting digits to change. ROT13 does not touch numbers; the ROT47 variant handles those.
- Running it twice and thinking nothing happened. A second pass restores the original text by design.
- Confusing ROT13 with a Caesar cipher of any shift. ROT13 is a fixed shift of 13 only.
About this calculator
This tool applies ROT13, a simple substitution cipher that shifts every letter 13 positions through the alphabet, wrapping from Z back to A. Because the alphabet has 26 letters, applying the same 13-position shift a second time reverses the first, which is why the identical operation both encodes and decodes any message — there's no separate decrypt step or key to manage.
ROT13 provides no real security since it is trivial to break, so it was never intended to protect sensitive information; instead it is traditionally used on forums and newsgroups to obscure spoilers, puzzle answers, or offensive jokes from someone's screen so readers have to actively choose to decode the text before seeing it. Programmers also use it informally as a lightweight obfuscation for test data, throwaway examples, or hiding an answer key in a document where casual glancing shouldn't reveal it immediately.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Once you read a little ROT13 you can decode common words by eye. The becomes gur and and becomes naq, so a short forum spoiler is often legible after a few tries. That also shows why it only hides text from a casual glance. If you hide spoilers or puzzle answers with it, add a plain-language warning above the encoded text. Where do you use ROT13, forums, puzzles or something else?