Skip to content

JSON Encrypt

Encrypt JSON data using XOR cipher with a custom key, then encode as Base64. Provide key: yourkey on the first line.

Input

json
loading editor…

Add key: yourkey on first line, then paste JSON below...
or drop a file anywhere in this pane

Output

text

Encrypted output will appear here...
press to encrypt

What Is JSON Encrypt?

This tool encrypts JSON data using a simple XOR cipher with a user-provided key, then encodes the result as Base64. It is useful for obfuscating sensitive configuration data or JSON payloads during transit or storage.

How to Use

  1. Start the first line with key: your-secret-key then paste your JSON below.
  2. Click "Encrypt" to generate the encrypted Base64 output.
  3. Share the encrypted text with anyone who has the same key to decrypt.

Frequently Asked Questions

Is this encryption secure?

XOR cipher is a basic obfuscation method and not suitable for production security. Use proper encryption libraries (AES) for sensitive data.

Can I decrypt the data back?

Yes, click Swap to switch to decryption mode, or use the JSON Decrypt tool with the same key.

Related Tools