Loading network utility...
Loading network utility...
Convert text, files, and images to and from Base64. Features URL-safe encoding, live image previews, HTML/CSS Data URI generators, and instant local execution.
// Encoded or decoded output will appear here...
Instantly toggle between encoding text/files into Base64 and decoding raw Base64 strings back to their original format.
Decode images (.png, .jpg, .svg, .webp) with instant visual thumbnail rendering and copyable HTML/CSS embed tags.
Files and confidential authentication headers never touch a server. All processing runs inside your browser sandbox.
Base64 is one of the most widely used encoding algorithms in modern web development, network authentication (HTTP Basic Auth), and data serialization. Here is how it works under the hood.
Select Encode to transform plain text or files to Base64, or Decode to convert Base64 back into human-readable text or images.
If embedding inside query parameters or JSON Web Tokens (JWT), enable the URL-Safe toggle to replace `+` and `/` with `-` and `_`.
Copy the output with 1 click, copy the HTML `<img>` tag for images, or download the result directly as a local file.
Depending on where your encoded data is transmitted, choosing the wrong dialect can corrupt query parameters or break HTTP headers:
| Specification | Character 62 | Character 63 | Padding Character | Primary Use Cases |
|---|---|---|---|---|
| Standard Base64 (RFC 4648 §4) | + (plus) | / (slash) | = (equals) | Email MIME attachments, Basic Auth headers, Data URIs. |
| URL-Safe Base64 (RFC 4648 §5) | - (minus) | _ (underscore) | Stripped or = | JWT tokens, URL query params, filenames, OAuth2 states. |
Modern computers operate in 8-bit bytes (octets). However, legacy networking equipment and text protocols were historically designed for 7-bit ASCII. Base64 bridges this gap:
Base64 is essential across multiple layers of the modern web stack:
Technical answers regarding encoding, overhead, safety, and image handling.
Deep-dive networking articles and protocol specifications related to this utility.
Complete guide to Base64 encoding: 6-bit radix conversion, the 33% size overhead formula, standard vs URL-safe RFC 4648, and embedding images as Data URIs.
What is a subnet? Learn IPv4 subnetting formulas, CIDR notation (/24 to /30), bitwise AND math, broadcast addresses, and usable host calculation with diagrams.
Learn how to check open TCP ports using terminal commands (Netcat, PowerShell, lsof) and free online port scanners. Verify firewall and open port security.
High-speed, zero-cost engineering tools built for network diagnostics and developer workflows.
Beautify, minify, validate & inspect JSON tree
Unix epoch to date & global timezone converter
UUID v4 & UUID v7 generator & timestamp decoder
Convert cURL commands to 7 languages instantly
Calculate octal, symbolic, and special Linux permissions
Detect browser, OS, engine, and Client Hints telemetry