Text Encryptor

Encrypt and decrypt text using various cipher algorithms. All processing happens in your browser - your data never leaves your device.

Plain Text
0 characters
Encrypted Result
0 characters

Privacy & Security

All encryption and decryption operations are performed locally in your browser. Your text and keys are never sent to any server. This tool is intended for educational purposes and basic encoding - not for securing sensitive data.

Base64

A standard encoding scheme that represents binary data as ASCII text. Commonly used for data transfer and storage.

ROT13

A simple letter substitution cipher that replaces a letter with the 13th letter after it in the alphabet. Its own inverse.

Caesar Cipher

One of the simplest encryption techniques where each letter is shifted by a fixed number of positions in the alphabet.

XOR Cipher

A simple additive cipher using the XOR operation. When the same key is used for encryption and decryption, it acts as its own inverse.

About the Text Encryptor

This text encryptor applies Base64, Caesar, ROT13 and XOR transformations in both directions. None of them provide real security, and the tool is explicit about that — they are for puzzles, obfuscation and learning.

A text encryptor offering these four methods is a learning and puzzle tool, and it is worth being blunt about why. Base64 is an encoding, not encryption, and reverses with no key at all. ROT13 is its own inverse. Caesar has 25 possible keys and falls instantly.

XOR is the only one with a key, and it is the most misleading. XOR with a genuinely random key as long as the message is theoretically unbreakable — but XOR with a short repeated key, which is what any tool like this does, is broken by frequency analysis in seconds.

So: use these for puzzles, capture-the-flag challenges, obscuring a spoiler, teaching how ciphers work, or making a string non-obvious to a casual glance. Do not use any of them for anything that matters. Real protection means AES through a vetted library, or age or GPG for files.

How to use the Text Encryptor

  1. Pick a method. Choose Base64, Caesar, ROT13 or XOR.
  2. Set the key. Enter a shift for Caesar or a key for XOR. The others need none.
  3. Paste your text. Enter the text to transform.
  4. Transform. Read the result — and remember it is not protected.

Text Encryptor features

  • Base64 encoding and decoding
  • Caesar cipher with any shift
  • ROT13, which is its own inverse
  • XOR with a repeating key
  • Explicit about providing no real security
  • Runs entirely in your browser

Frequently asked questions

Do any of these actually protect my data?

No. Base64 is an encoding, ROT13 is its own inverse, Caesar has 25 keys, and XOR with a repeated key breaks in seconds.

Why is XOR misleading?

XOR with a truly random key as long as the message is unbreakable. With a short repeated key, which is what this does, it is trivially broken.

What should I use for real encryption?

AES through a vetted library, or age or GPG for encrypting files.

What are these good for?

Puzzles, CTF challenges, hiding spoilers, teaching how ciphers work, and making a string non-obvious at a glance.

Is my text uploaded?

No. Everything runs in your browser.