Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Base64 EncoderURL EncoderText to Binary/Hex/ASCII ConverterASCII Table Reference
Home Page > Miscellaneous > Encoders And Decoders

ROT13 Encoder/Decoder

Encode and decode ROT13 ciphertext instantly with a live alphabet wheel, character-by-character mapping, ROT5 for digits, ROT18 for letters and digits, and ROT47 for all printable ASCII characters.

Free to useNo sign-up requiredInstant Results
ROT13 Encoder/DecoderTry it now — free ▼
Quick examples
Paste any text. ROT13 only changes A-Z and a-z; switch the cipher below to include digits or full ASCII. The same button encodes and decodes.

Embed ROT13 Encoder/Decoder Widget

About ROT13 Encoder/Decoder

This ROT13 Encoder/Decoder applies the classic letter-rotation cipher to any text and shows the work — a live alphabet wheel, a character-by-character before/after view, full statistics, a round-trip verification, and a side-by-side comparison of all four ROT variants. It is built for writers hiding spoilers, puzzle designers, developers leaving inert comments, learners studying classical cryptography, and anyone who just needs to flip ROT13 text fast.

How to Use the ROT13 Encoder/Decoder

  1. Type or paste your plain text or ROT13 ciphertext into the input box. The live preview on the right shows the cipher output as you type and highlights the matching pair on the alphabet wheel.
  2. Pick a cipher variant. ROT13 shifts the 26 English letters; ROT5 shifts digits; ROT18 combines both; ROT47 shifts every printable ASCII character.
  3. Click Apply Cipher. The full output appears below with statistics, the character-by-character mapping, a unique-substitution grid, and a round-trip proof that the cipher is self-inverse.
  4. Use the Copy buttons to grab the ciphered text or the original input. Apply the same cipher to the ciphertext to decode it back — ROT13 needs no separate decode button because encode = decode.

The Four ROT Variants Explained

ROT13Shifts A-Z and a-z by 13. Half of the 26-letter alphabet means encoding twice returns the original.Best for: spoilers, puzzle answers, joke punchlines, source-code comments.
ROT5Shifts 0-9 by 5. Half of the 10-digit cycle, also self-inverse. Letters and punctuation pass through.Best for: lightly hiding numbers in mixed text.
ROT18Combines ROT13 for letters with ROT5 for digits. Both halves are self-inverse so the combination is too.Best for: text with serial numbers, order IDs, or dates you want shielded along with words.
ROT47Shifts every printable ASCII character from "!" (33) to "~" (126) by 47. Punctuation, brackets, and symbols all change.Best for: hiding URLs, code snippets, emails, or anything with mixed symbols.

Why the Same Button Encodes and Decodes

ROT13 is an involutory cipher. If you call the shift function f, then f(f(x)) = x for every input. The reason is arithmetic: shifting a letter by 13, then by another 13, totals 26 — a full lap around the alphabet that lands back on the original. The same identity holds for ROT5 with the digit cycle of 10, and for ROT47 with the printable ASCII cycle of 94. Each shift is exactly half the cycle length, which is what makes the operation its own inverse.

Quick Reference Table

VariantCycle lengthShiftSelf-inverseExample
ROT1326 letters13YesHelloUryyb
ROT510 digits5Yes20247579
ROT1826 + 1013 + 5YesA12N67
ROT4794 ASCII chars47YesHi!w:P

Where ROT13 Is Still Used Today

  • Spoiler protection. Forum posts, fan wikis, puzzle subreddits, and book clubs use ROT13 so readers must choose to decode before seeing twist endings or solutions.
  • Joke punchlines. Usenet, IRC, and old-school message boards historically hide punchlines with ROT13 so the reader can pause before reaching the joke.
  • Source-code obfuscation for fun. Easter eggs and harmless comments in open-source projects sometimes ship ROT13 so casual readers do not stumble on them.
  • Teaching classical ciphers. ROT13 is the simplest non-trivial substitution cipher and is widely used in introductions to cryptography because every step is visible by hand.
  • CTF and puzzle challenges. Capture-the-flag puzzles often start with ROT13 as a warm-up before participants tackle real cryptanalysis.

Security Notice

ROT13, ROT5, ROT18, and ROT47 are not encryption. They are reversible transformations that any reader can undo in seconds, by hand or with a one-line script. Never use them to protect passwords, personal information, financial data, or anything that should stay confidential. For real protection, use modern cryptography such as AES-256, ChaCha20, RSA, or libsodium. Treat ROT ciphers as a way to obscure text, not to secure it.

Tips for Best Results

  • To decode ROT13 ciphertext, just paste it and click Apply Cipher with the ROT13 variant selected. No mode switch is needed.
  • If your text contains a mix of letters and digits and you want all of it hidden, use ROT18 instead of ROT13.
  • To hide URLs, email addresses, or code snippets along with their punctuation, use ROT47.
  • Capitalization is always preserved with ROT13, ROT5, and ROT18. ROT47 may change a capital letter into a different case because it shifts across the full ASCII range.
  • Non-ASCII characters (accented letters, CJK, emoji) pass through unchanged in every variant.

FAQ

What is ROT13?

ROT13 is a simple substitution cipher that shifts every letter by 13 positions in the English alphabet. A becomes N, B becomes O, and so on. Because 13 is half of 26, the same operation encodes and decodes.

Is ROT13 secure for real encryption?

No. ROT13 is a transformation, not encryption. It hides text from a casual glance but anyone can reverse it instantly. Use real cryptography such as AES or RSA for anything that needs to stay confidential.

What is the difference between ROT13 and ROT47?

ROT13 only shifts the 26 English letters. ROT47 shifts every printable ASCII character from 33 to 126, so punctuation and digits also become unrecognizable. Both are self-inverse because the shift is exactly half of the cycle length.

Does ROT13 preserve capitalization?

Yes. Uppercase letters map to uppercase letters and lowercase letters map to lowercase letters. Spaces, digits, and punctuation pass through unchanged unless you switch to ROT5, ROT18, or ROT47.

Why does the same button encode and decode?

ROT13 is an involutory cipher. Shifting twice by 13 returns the letter to its starting position (13 + 13 = 26). That means encoding ciphertext with ROT13 produces the original plaintext, so encode and decode share one button.

Where is ROT13 still used?

ROT13 is commonly used to hide spoilers, puzzle answers, joke punchlines, and mildly sensitive text in newsgroups, forums, and source code comments. It is also a popular teaching example for substitution ciphers.

Reference this content, page, or tool as:

"ROT13 Encoder/Decoder" at https://MiniWebtool.com/rot13-encoder-decoder/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-26

Encoders And Decoders:

Top & Updated:

Instagram User ID LookupRandom PickerRandom Name Picker WheelImage ResizerFacebook User ID LookupLine CounterSort NumbersRSD Calculator - Relative Standard DeviationFPS ConverterRandom Quote GeneratorJob FinderRemove Spaces🖱️ Click Counter⬛ Aspect Ratio CalculatorMAC Address Lookup📷 OCR / Image to TextWord to Phone Number ConverterStandard Error CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨MAC Address GeneratorRandom Credit Card GeneratorERA CalculatorSum CalculatorMerge VideosPercent Off CalculatorLog Base 10 CalculatorRoman Numerals ConverterSHA256 Hash GeneratorCm to Feet and Inches ConverterJulian Date ConverterMP3 LooperWeight Loss CalculatorName RandomizerBatting Average CalculatorSlope and Grade CalculatorAdd Text to ImageNumber of Digits CalculatorOctal CalculatorFeet and Inches to Cm ConverterRandom IMEI GeneratorImage SplitterBitwise CalculatorPhone Number ExtractorSquare Root (√) CalculatorRandom Activity GeneratorAudio SplitterIP Subnet CalculatorRandom Fake Address GeneratorInvisible Text GeneratorRandom Superpower GeneratorVertical Jump CalculatorText FormatterRandom Writing Prompt GeneratorVideo CompressorQuotient and Remainder CalculatorRandom Truth or Dare GeneratorSalary Conversion CalculatorOutlier CalculatorEquation of a Line CalculatorNumber to Word ConverterHalfway Date CalculatorBCD ConverterFirst n Digits of PiBinary to Gray Code ConverterFraction CalculatorFile Size ConverterCaffeine Overdose CalculatorEstimation CalculatorRandom Movie PickerSun Position CalculatorLunar Calendar ConverterCompound Growth CalculatorRandom Poker Hand GeneratorLeap Years ListYouTube Channel StatisticsName Number CalculatorMultiplication CalculatorBolt Torque CalculatorSHA512 Hash GeneratorLong Division CalculatorRandom Birthday GeneratorBingo Card GeneratorMaster Number CalculatorMD5 Hash GeneratorLimit Calculator🔍 Plagiarism Checker📅 Date CalculatorInequality SolverVideo to Image ExtractorModulo CalculatorRandom Video Thumbnail GeneratorPercent Growth Rate CalculatorMagic 8-BallEmail ExtractorCone Flat Pattern (Template) GeneratorImage Compressor🔊 Tone GeneratorMultiple Fraction CalculatorCompare Two StringsDomain and Range CalculatorAI Language DetectorFlip Video🎰 Gacha Pity CalculatorStair CalculatorRandom Meal GeneratorOPS CalculatorHebrew Calendar ConverterURL ExtractorWord Ladder GeneratorNumber ExtractorArc Length CalculatorBcrypt Hash Generator / CheckerLong Multiplication CalculatorRemove Empty LinesRandom Emoji GeneratorBreak Line by CharactersRandom User-Agent GeneratoreBay Fee CalculatorAverage Deviation CalculatorPercent to PPM ConverterRandom Number PickerImage EnhancerAPI TesterSlugging Percentage CalculatorWord Scramble GeneratorRadical SimplifierRandom Loadout GeneratorSocial Media Username Checker📊 Bar Graph MakerScientific Notation CalculatorTrigonometric Equation SolverDay of the Year Calculator - What Day of the Year Is It Today?Day of Year CalendarList of Prime NumbersBroken Link CheckerRandom Group GeneratorImage CropperWhat is my Zodiac Sign?Algebraic Expression SimplifierAstrological Element Balance CalculatorOn Base Percentage CalculatorAI Text HumanizerPaycheck Calculator (Take-Home Pay)Scientific Notation to Decimal ConverterLove Compatibility CalculatorHEX CalculatorAdd Prefix and Suffix to TextRandom Math Problem GeneratorRemove Lines Containing...Random Object GeneratorYouTube Tag ExtractorDice RollerIP Address to Hex ConverterRandom Tournament Bracket GeneratorSigma Notation Calculator (Summation)Small Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾WAR CalculatorList RandomizerRemove Leading Trailing SpacesSocial Media Post Time OptimizerProportion CalculatorRandom Line PickerAI Punctuation AdderPercentile CalculatorFirst Day of AutumnBackronym GeneratorAudio ExtractorRandomize NumbersVideo SplitterIP Address to Binary ConverterHeight Percentile CalculatorOrder of Operations Calculator (PEMDAS)Random Chord GeneratorChinese Gender PredictorRatio to Percentage CalculatorAdjust Video SpeedColor InverterParallel and Perpendicular Line CalculatorDMS to Decimal Degrees ConverterSum of Positive Integers CalculatorField Goal Percentage CalculatorSquare Numbers ListArithmetic Sequence CalculatorWHIP CalculatorRandom PIN GeneratorSlope Intercept Form CalculatorTime Duration CalculatorSales Tax CalculatorVideo CropperJulia Set GeneratorMercury Retrograde CalendarSaturn Return CalculatorWater Usage CalculatorConnect the Dots GeneratorNumber Pattern FinderLogarithmic Equation SolverHelium Balloon Lift CalculatorConvert Video for Twitter (X)Gamertag GeneratorTeam Name GeneratorNickname GeneratorRap Name GeneratorBand Name GeneratorFantasy Name GeneratorFortune Cookie GeneratorDrawing Idea GeneratorJournal Prompt GeneratorDaily Affirmation GeneratorCompliment GeneratorPickup Line GeneratorDad Joke GeneratorRandom Joke GeneratorRandom Fact GeneratorTrivia Question GeneratorHangman Word GeneratorPictionary Word GeneratorCharades GeneratorIcebreaker Question GeneratorNever Have I Ever GeneratorWould You Rather GeneratorRandom Question GeneratorAI Dream InterpreterAI Thank-You Note GeneratorAI Wedding Speech GeneratorAI Press Release GeneratorAI Product Description GeneratorAI Video Script GeneratorAI YouTube Title & Description GeneratorAI Instagram Caption GeneratorAI LinkedIn Headline & Bio GeneratorAI Resume Bullet GeneratorAI Cover Letter GeneratorAI Rap Lyrics GeneratorPDF Flatten ToolUnlock PDF (Owner-Password Removal)PDF to Text ExtractorPDF Page ExtractorPDF Word CounterProtect PDFAdd Page Numbers to PDFReorder PDF PagesDelete PDF PagesRotate PDFJPG to PDFPDF to JPGCompress PDFSplit PDFMerge PDFPT to PX ConverterPX to REM ConverterTola to Gram ConverterIndian Land Unit ConverterMcg to Mg ConverterAI Song Lyrics GeneratorAI Poem GeneratorAI Story GeneratorAI TranslatorAI Text SummarizerMg to Ml ConverterMPH to KMH / KMH to MPHKnots to MPH ConverterCubic Meters to Cubic FeetCubic Feet to Cubic Yards ConverterSquare Feet to Square Meters ConverterSquare Meters to Square Feet ConverterOz to ML ConverterML to Oz ConverterGallons to Liters ConverterLiters to Gallons ConverterKg to Stone ConverterStone to Kg ConverterInches to MM ConverterMM to Inches ConverterMiles to Km ConverterKm to Miles ConverterFahrenheit to Celsius ConverterCelsius to Fahrenheit ConverterBackpack Size CalculatorSurfboard Volume CalculatorTennis Grip Size CalculatorHelmet Size CalculatorGlove Size CalculatorHat Size ConverterSnowboard Size CalculatorSki Size CalculatorBike Size CalculatorSpeedrun Split TimerStableford CalculatorDart Checkout CalculatorBowling Economy CalculatorBatting Strike Rate CalculatorNet Run Rate CalculatorK/D Ratio CalculatorElo Rating CalculatorHeart Rate Recovery CalculatorHiking Time CalculatorRowing Pace CalculatorRunning Age-Grading CalculatorFTP & Power Zones CalculatorBeep Test CalculatorACFT Score CalculatorWilks & DOTS CalculatorWheel Offset CalculatorTire Load Index & Speed Rating LookupCost Per Mile CalculatorLease Buyout CalculatorOctane Mix Calculator2-Stroke Oil Mix CalculatorEngine Displacement CalculatorCouch Fit CalculatorFirewood Cord CalculatorAir Purifier CADR CalculatorDehumidifier Size CalculatorCeiling Fan Size CalculatorCurtain Size CalculatorRug Size CalculatorPicture Hanging Height CalculatorTV Mounting Height CalculatorTV Size CalculatorPond Volume & Liner CalculatorPool Salt CalculatorPool Volume CalculatorWater Heater Size CalculatorEpoxy Resin CalculatorBaluster Spacing CalculatorBaseboard & Trim CalculatorSiding CalculatorDeck Stain CalculatorGrass Seed CalculatorSod CalculatorAsphalt CalculatorCubic Yard CalculatorAntenna Length CalculatorConduit Fill CalculatorSeries/Parallel Capacitor CalculatorInductive Reactance CalculatorRoom Lighting CalculatorLux to Lumens CalculatorLumens to Watts ConverterGenerator Size CalculatormAh to Wh Converter3-Phase Power CalculatorkVA CalculatorAmps to Watts CalculatorWatts to Amps CalculatorResistors in Series CalculatorFriction CalculatorInclined Plane CalculatorMechanical Advantage CalculatorSpeed of Sound CalculatorWave Speed CalculatorBuoyancy CalculatorTerminal Velocity Calculatorde Broglie Wavelength CalculatorPhoton Energy CalculatorE=mc² CalculatorTime Dilation CalculatorKepler's Third Law CalculatorEscape Velocity CalculatorGravitational Force CalculatorBeer-Lambert Law CalculatorNernst Equation CalculatorOsmotic Pressure CalculatorBoiling Point Elevation CalculatorFreezing Point Depression CalculatorPercent Composition CalculatorNormality CalculatorMolality CalculatorpKa to Ka ConverterHenderson-Hasselbalch CalculatorTheoretical Yield CalculatorLimiting Reactant CalculatorElectron Configuration CalculatorInteractive Periodic TableAI Lesson Plan GeneratorAI Quiz GeneratorCitation Generator (APA/MLA/Chicago)Attendance Percentage CalculatorAP Score CalculatorACT Score CalculatorSAT Score CalculatorYouTube Earnings EstimatorRandom RPG Character Generator
Home Page > Miscellaneous > Encoders And Decoders > ROT13 Encoder/Decoder