Text to ROT13 Converter

Encode and decode text using the ROT13 cipher. Simple obfuscation for spoilers, puzzles, and basic text protection.

Instant encodingBidirectionalPrivacy focused

Input Text

Paste or type your text below. Encoding happens automatically as you type.

Encoding Options

ROT13 Output

Encoded text appears here automatically.

Alphabet Mapping
Original: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
ROT13:     N O P Q R S T U V W X Y Z A B C D E F G H I J K L M
Input Chars0
Output Chars0
Encoded0
Preserved0

Share this tool

Understanding ROT13 encoding

ROT13 stands for rotate by 13 places. It shifts each letter 13 positions forward in the alphabet. Since the English alphabet has 26 letters, applying ROT13 twice returns the original text. This makes it a self-inverse cipher.

ROT13 works by mapping A to N, B to O, C to P, and so on. After Z, it wraps back to A. The letter M becomes Z, and N becomes A. This symmetry means encoding and decoding use the same process.

People use ROT13 for spoiler protection in online discussions. Forum users encode plot details so readers choose when to decode them. It also helps hide email addresses from spam bots and creates simple text puzzles.

ROT13 is not secure encryption. Anyone can decode it instantly. It provides obfuscation, not protection. Use it for casual hiding, not sensitive data. For real security, use proper encryption methods.

The cipher dates back to ancient Rome. Julius Caesar used similar letter shifts for military messages. ROT13 became popular in early internet forums as a lightweight way to hide spoilers without complex tools.

Modern applications include educational demonstrations of cryptography basics, simple content masking, and playful text transformation. Developers sometimes use it in code comments or configuration files for basic obfuscation.

Input text

Enter your plain text. The converter processes letters while preserving your chosen formatting options.

Letter shift

Each letter moves 13 positions forward. A becomes N, B becomes O, wrapping around after Z.

Output result

Encoded text appears instantly. Apply ROT13 again to decode back to the original message.

A
Spoiler protection

Hide plot details in discussions. Readers decode when ready to see the content.

B
Spam prevention

Obfuscate email addresses from automated scrapers while keeping them readable for humans.

C
Educational tool

Learn substitution ciphers and understand basic cryptography concepts through practice.

How ROT13 works

The algorithm processes each character individually. Letters shift by 13 positions. Numbers and punctuation stay unchanged when preservation options are enabled. The process is case-sensitive, maintaining uppercase and lowercase forms.

Example: The word "HELLO" becomes "URYYB". H shifts to U, E to R, L to Y (twice), and O to B. Applying ROT13 again converts "URYYB" back to "HELLO".

This bidirectional property makes ROT13 unique among simple ciphers. Most substitution ciphers require separate encoding and decoding functions. ROT13 uses the same operation for both directions.

ROT13 converter FAQ

Common questions about ROT13 encoding and this converter tool.

What is ROT13 used for?

ROT13 hides spoilers in online discussions, obfuscates email addresses from spam bots, creates text puzzles, and serves as an educational tool for learning basic cryptography.

Is ROT13 secure encryption?

No. ROT13 provides obfuscation, not security. Anyone can decode it instantly. Use proper encryption methods for sensitive data protection.

How do I decode ROT13 text?

ROT13 is self-inverse. Apply ROT13 encoding again to decode. This converter handles both encoding and decoding with the same process.

Does ROT13 work with numbers and punctuation?

By default, ROT13 only shifts letters. Numbers and punctuation remain unchanged when preservation options are enabled. You can toggle these options in the settings.

Why is ROT13 its own inverse?

The English alphabet has 26 letters. Shifting by 13 positions means shifting by half the alphabet. Applying the same shift twice returns to the original position, making ROT13 self-inverse.

Can I use ROT13 for passwords or sensitive data?

Never use ROT13 for passwords or sensitive information. It offers no real security. Use proper encryption algorithms and secure password storage methods instead.