Encode text or files to Base64 and decode Base64 strings back to text. Free, instant, browser-only — no upload, no logging.
Encode any text or binary data to Base64 and decode Base64 strings back to their original form. Useful for embedding images in CSS or HTML data URIs, transmitting binary safely in JSON or email, debugging API payloads, and inspecting tokens that are Base64-encoded.
Two-way conversion — encode and decode in the same view, with a swap button.
UTF-8 safe — handles emoji, accented characters, and non-Latin scripts correctly.
URL-safe Base64 — toggle between standard and URL-safe alphabets.
File support — drag in a file (image, PDF, etc.) to get its Base64 representation.
Privacy first — everything runs in your browser; nothing is uploaded.
Paste text or drop a file into the input panel.
Choose Encode or Decode.
Copy the result with one click, or download it as a file.
Embedding small images directly in HTML emails using data URIs. Debugging Base64-encoded API responses. Inspecting JWT payloads. Converting binary attachments for JSON transport. Educational examples for teaching encoding fundamentals.
Standard Base64 uses +, /, and = padding — these can break URLs. Use the URL-safe variant (-, _, no padding) for query strings and path segments. Base64 is encoding, not encryption — never use it to "hide" sensitive data.
How to Use Base64 Encoder & Decoder
Enter or paste the content you want to process using the base64 encoder & decoder.
Adjust any available settings or options to customize the output.
View, copy, or download your processed results instantly.
Encode text or files to Base64 and decode Base64 strings back to text. Free, instant, browser-only — no upload, no logging.
Tool Use:
1.2k+Type:
Free ToolPrivacy:
Client SideGenerate custom QR codes for URLs, vCards, Wi-Fi, text, and more — high-resolution PNG and SVG download, free.
Convert byte arrays to readable text strings — free online byte-to-text converter with ASCII and UTF-8 support.
Generate globally unique identifiers (UUID v4) for databases, sessions, and distributed systems — instant and bulk-friendly.
Percent-encode strings for safe URL inclusion or decode percent-encoded URLs back to readable text — free and UTF-8 safe.
Generate strong, random passwords with custom length, character classes, and exclusions — perfect for new accounts and password rotation.