OnlineNotes Logo

    ROT13 Encoder and Decoder

    Paste text to apply ROT13. Paste the result back and you get the original text, because ROT13 is its own reverse.

    Options

    About this tool

    ROT13 moves each letter 13 places in the alphabet: A becomes N, B becomes O, and N goes back to A. The English alphabet has 26 letters, so doing it twice brings every letter back to where it started. That is why one tool both encodes and decodes. It is used to hide spoilers, puzzle answers and joke punchlines, so a reader sees them only by choice.

    ROT13 is not encryption. There is no key, and anyone can reverse it in seconds. Do not use it for passwords or private data. ROT13 changes only the letters A to Z and a to z. ROT47 also changes digits and symbols: it moves every printable ASCII character from ! (33) to ~ (126) by 47 places in that range of 94. ROT47 is also its own reverse.

    How it works

    1. Paste or type your text.
    2. In ROT13 mode, each letter moves 13 places in the alphabet and keeps its case. Other characters stay the same.
    3. In ROT47 mode, each printable ASCII character from ! to ~ moves 47 places. Spaces, line breaks and non-ASCII characters stay the same.
    4. To decode, paste the encoded text in and use the same mode again.

    Worked example

    Input

    Hello, World!

    Output

    Uryyb, Jbeyq!

    H moves 13 places to U, e to r, l to y and o to b. The comma, space and ! stay the same.

    Edge cases and limits

    • ROT13 is not encryption. Anyone can decode it.
    • ROT13 changes only the 26 basic Latin letters. Accented letters such as é, and other scripts, stay the same.
    • ROT47 changes ASCII characters only. Emoji and accented letters stay the same.

    Frequently asked questions

    How do I decode ROT13?

    Paste the ROT13 text here. Encoding and decoding are the same step, so the output is the original text.

    Is ROT13 secure?

    No. It has no key and is easy to reverse. Use it only to hide text from a quick look, such as spoilers.

    What is the difference between ROT13 and ROT47?

    ROT13 changes only letters. ROT47 changes all printable ASCII characters, including digits and symbols, so numbers are hidden too.

    Related tools