Base64, Hex & File Data URL Converter
Encode and decode strings, files, images, and data URIs across Base64, Hex, Binary, and URL percent-encoding. Convert images to embeddable HTML and CSS snippets.
How Base64 Encoding Works (and When to Use It)
Base64 represents arbitrary binary streams using 64 printable ASCII characters (A–Z, a–z, 0–9, +, and /). This ensures binary data survives legacy text-only networks (such as SMTP mail systems) and can be embedded directly into text formats like JSON, XML, CSS, and HTML.
Data URIs
Embed small icons or fonts directly into CSS/HTML to eliminate extra HTTP roundtrips.
JWT Tokens
JSON Web Token header and payload segments are URL-safe Base64 encoded.
MIME Attachments
Email clients encode photos and PDFs as Base64 with 64-character RFC 2045 line wrapping.
URL Percent-Encoding Reference Table
Percent-encoding keeps URLs unambiguous. Reserved characters (&, =, ?, #, /) and non-ASCII characters are replaced by %XX byte sequences.
| Character | Encoded | Common Context & Meaning |
|---|---|---|
| space | %20 | Query parameters, path names & headers |
| + | %2B | Literal plus in values (a bare + means space in form posts) |
| & | %26 | Query string parameter separators |
| = | %3D | Key-value pair delimiter |
| # | %23 | URL anchor / fragment start |
| ? | %3F | Query string start delimiter |
| / | %2F | Path segment separator |
| : | %3A | Protocol & port delimiter |
| @ | %40 | User credentials in URLs |
| é | %C3%A9 | UTF-8 multi-byte character sequence |
Frequently Asked Questions
In-Depth Guides & Tutorials
Formulas, industry standards, and best practices for Base64 & URL Encoder/Decoder.
Base64 Explained: What It Is, When to Use It, and When It's Wrong
Base64 is everywhere in web development — data URIs, JWTs, email attachments. Learn how the encoding actually works, when to use it, and why it is not encryption.
.env File Syntax Validation, Diff Checking & Kubernetes Secret Conversion: Complete DevOps Guide
Master environment variable hygiene. Learn how to lint .env syntax, compare .env.example against .env.local, sort keys alphabetically, and convert variables to Kubernetes Secrets & Docker Compose in-browser.
How to Inspect TTF, OTF & WOFF2 Font Files Locally & Generate @font-face CSS
Preview commercial .ttf, .otf, and .woff2 font binaries locally in browser RAM, browse Unicode glyph maps, and generate Base64 @font-face CSS offline.
Related Workflow & Next Tools
Continue seamlessly with zero-upload utilities built to pair with Base64 & URL Encoder/Decoder.
Webhook & REST API Request Builder (CORS Tester)
Send GET, POST, PUT, PATCH, and DELETE requests directly from your browser via native Fetch. Inspect latency, audit CORS headers, and export to cURL, Fetch, Python, or Go.
Local OpenAPI & Swagger YAML/JSON Visualizer
Explore private OpenAPI 3.x and Swagger 2.0 YAML/JSON specifications locally, filter endpoints, inspect parameters and example payloads, and copy cURL snippets.
cURL to Code Multi-Language Converter
Convert cURL command lines into JavaScript (Fetch, Axios), Python (Requests, HTTPX), Go, PHP, and Rust code instantly.
HAR File Analyzer, Network Waterfall & Secret Redactor
Inspect HTTP Archive (.har) network waterfalls, slow TTFB requests, and headers locally—plus 1-click redaction of cookies and Bearer tokens.