XOR Cipher Encrypt Decrypt Online

XOR cipher tool for encryption and decryption. Perfect for learning cryptography concepts and simple obfuscation. Not suitable for secure encryption of sensitive data.

Mode:

Key format: UTF8 | Output: Hexadecimal

bytes

Characters: 0 | Bytes: 0

Result:
Encrypted result will appear here...

Larger files are processed in chunks to keep the UI responsive.

Auto-process text changes

Automatically processes text when you type (text mode only).

Technical Information & Security Notes

Algorithm Details

  • Algorithm: XOR (Exclusive OR) with repeating key
  • Key formats: UTF-8 text or hexadecimal bytes
  • Output formats: Hexadecimal, Base64, or UTF-8 text
  • File processing: Chunked processing for large files
  • Key cycling: Key repeats when shorter than data

Security & Usage Warnings

  • ⚠️ NOT cryptographically secure for confidential data
  • Educational use only: Learn XOR cipher concepts
  • Simple obfuscation: Hide data from casual viewing
  • For real security: Use AES, ChaCha20, or similar
  • Key reuse: Never reuse keys with different data

Important Security Notice

XOR cipher is vulnerable to frequency analysis, known-plaintext attacks, and key reuse attacks. It provides NO security against determined attackers. Use modern cryptographic libraries for protecting sensitive information.