🔐 Base64 Encoder/Decoder

Encode or decode Base64 strings with URL-safe support and code examples in multiple languages

What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. Each Base64 digit represents exactly 6 bits of data. It's commonly used in web development for encoding images, authentication tokens, and data transmission.

Encode / Decode

Input

0 chars

Output

0 chars

Quick Examples

Code Examples - URL-Safe Base64

Base64 in Python

Encode URL-Safe
Decode URL-Safe

Base64 in PHP

Encode URL-Safe
Decode URL-Safe

Base64 in JavaScript (Node.js)

Encode URL-Safe
Decode URL-Safe

Base64 in Go

Encode URL-Safe
Decode URL-Safe

Base64 in C#

Encode URL-Safe
Decode URL-Safe

Base64 in Rust

Encode URL-Safe
Decode URL-Safe

Need Help?

Found a bug or something missing? Contact our support team or contribute on GitHub.