Base64 Encoder/Decoder & JavaScript Encryptor

Encode and decode Base64 for text and files. Also encrypt JavaScript code with RC4 and AES encryption algorithms.

Click to select file or drag and drop
Maximum file size: 10MB
Selected: ()

Encryption Type

Why Use Our Encoder/Decoder?

Base64 Encoding

Convert text and files to Base64 format instantly. Perfect for embedding images in HTML/CSS or sending binary data via JSON.

Base64 Decoding

Decode Base64 text and files back to original format. Supports both standard and URL-safe Base64.

File Support

Encode any file type to Base64. Supports images, documents, and any binary file up to 10MB.

JS Encryption

Encrypt JavaScript code with RC4 and AES algorithms. Generate self-decrypting code for browser execution.

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in ASCII string format. It's commonly used to encode data that needs to be stored and transferred over media that only support text, such as JSON, XML, or HTML.

Base64 Use Cases

  • Email Attachments: Encode binary files for email transmission
  • Data URLs: Embed images directly in HTML/CSS
  • API Data Transfer: Send binary data via JSON APIs
  • Configuration Files: Store binary data in text-based configs
  • Authentication: Encode credentials for HTTP Basic Auth

URL-Safe Base64

Standard Base64 uses '+' and '/' characters which can cause issues in URLs. URL-safe Base64 replaces '+' with '-' and '/' with '_', making it safe for URL parameters and filenames.

JavaScript Encryption

Our tool also provides JavaScript code encryption using RC4 and AES algorithms. Generate self-decrypting code that runs normally in browsers while being protected from easy copying and analysis.