encode text or files to Base64, or decode Base64 back to text and files. runs entirely in your browser.
encoded output will appear here
Base64 Encoder and Decoder converts text and files to Base64 encoding, and decodes Base64 strings back to their original form. This is essential for embedding data in HTML, CSS, JSON, and APIs that require text-safe binary encoding.
Paste text to encode it as Base64, or paste a Base64 string to decode it back to readable text. The tool also supports file encoding — upload any file and get its Base64 representation for embedding in web pages or data URIs.
Everything runs in your browser. No data is transmitted to any server, making this safe for encoding sensitive content like tokens, credentials, or private files.
Choose mode
Select Encode to convert text or files to Base64, or Decode to convert Base64 back to text.
Paste or upload
Paste text directly, or upload a file to encode it.
See the result
The encoded or decoded output appears instantly.
Copy or download
Copy the result to your clipboard or download it as a file.
Embedding images in CSS
Encode small images as Base64 data URIs to inline them directly in CSS, eliminating an extra HTTP request.
API authentication
Encode credentials for HTTP Basic Authentication headers.
Email encoding
Encode file attachments for email APIs that require Base64-encoded content.
Data URIs
Convert files to Base64 data URIs for embedding in HTML without external file references.
Debugging
Decode Base64-encoded tokens, cookies, or API payloads to inspect their contents.
PDF utilities, image tools, developer helpers — all free, no signup.
Convert text to binary, hexadecimal, and decimal byte values in real time.
See your public IP address, location, ISP, and timezone instantly.
Full-featured Markdown editor with toolbar, live preview, word count, and export.
Paste your JSON and instantly format, validate, or minify it.
Build cron expressions visually or paste one to decode it.
Check if your domain's email authentication is set up correctly.