Base64 Encode
Encode text or files to Base64. Paste text or upload a file to get the Base64 representation.
Drag & drop a file here, or click to select
Encode text or files to Base64 in your browser. Base64 turns binary or text data into safe ASCII characters for embedding in URLs, JSON, email, and data URIs.
Frequently asked questions
What is Base64 used for?
Embedding binary data in text-only contexts — data URIs, email attachments (MIME), JWTs, and small blobs in JSON or config.
Does Base64 encrypt data?
No. Base64 is encoding, not encryption — anyone can decode it, so never rely on it for security.
Why is the output larger?
Base64 represents 3 bytes as 4 characters, adding about 33% to the size.
Is my data uploaded?
No — encoding happens entirely in your browser.