Base64 Encoder / Decoder
Encode binary data into a text safe format or decode encoded strings back into their original form. The tool also previews images when the data represents an image.
Base64 Encoder & Decoder
Encode text or any file to Base64, or decode a Base64 string back to plain text. Supports URL-safe mode and live preview: runs 100% in your browser.
Text to Encode
Base64 Output
Output will appear here
Type text or upload a file on the left
Encode & Decode
Switch between encoding and decoding with one click. Both directions are handled instantly in your browser with no round-trips.
File to Base64
Upload any file: image, PDF, binary: and get its Base64 data URI ready to embed in HTML, CSS, or JSON payloads.
100% Private
Nothing is ever uploaded to a server. All encoding and decoding runs locally using the browser's native APIs.
How to Encode or Decode Base64
Choose a Direction
Select Encode to convert plain text or a file to Base64, or Decode to turn a Base64 string back into readable text.
Paste Text or Upload
Type or paste your content in the input area. For files, click the upload button to read any file as a Base64 data URI.
Convert Instantly
The result appears immediately: no button press needed for text. URL-safe mode replaces + / with - _ and removes padding.
Copy the Output
Hit Copy next to the output to grab the result. For decoded images, a live preview renders automatically.
Who Uses a Base64 Tool?
Frontend Developers
Encode images, fonts, and small assets as data URIs to inline them directly into HTML, CSS, or JavaScript bundles.
Backend Developers
Encode binary payloads for JSON APIs, SMTP email attachments, and JWT token headers or claims.
Security Researchers
Decode Base64-encoded payloads found in logs, network captures, or obfuscated scripts for analysis.
AI / ML Engineers
Encode images to Base64 strings for multimodal LLM APIs that accept inline image data in request bodies.
DevOps & SREs
Decode Kubernetes secrets, environment variables, and CI/CD pipeline outputs that arrive Base64-encoded.
QA Engineers
Encode or decode API test fixtures, binary payloads, and auth headers during integration testing.
Endless Forge vs Other Base64 Tools
Instant, private, and file-aware - runs entirely in your browser.
Every Base64 use case, one tool
More Utility & Developer Tools
Password Generator
Generate cryptographically secure passwords, memorable passphrases, or PINs with a configurable strength meter and bulk export.
JWT Decoder
Decode and inspect JSON Web Tokens — view header, payload, expiry status, algorithm, and all IANA-registered claims with explanations.
URL Encoder / Decoder
Encode and decode URLs and query strings with component, full URL, and form encoding modes, plus a full query parameter parser.
UUID Generator
Generate UUIDs in v4, v7, v1, ULID, Nil, and Max formats with bulk generation, multiple output formats, and one-click download.
Regex Tester
Test and debug regular expressions with live match highlighting, capture group display, replace mode, and a built-in cheat sheet.
JSON Formatter
Beautify and pretty-print raw JSON with configurable indentation, syntax highlighting, and instant error detection.
Code Formatter
Auto-format messy code with consistent indentation and style rules.
Frequently Asked Questions
5 questions answered