Microdeck.tools 100% In-Browser

Base64, URL & Hex Multi-Format Encoder/Decoder

Hot

Encode and decode Base64, URL-percent, Hexadecimal, and HTML entities in a single unified interface. Features smart format auto-detection, URL-safe Base64, and File-to-Base64 Data URI conversion.

100% In-Browser No Server Storage Instant Results
37 chars37 bytes
0 chars0 bytes

File to Base64 Data URI Converter

Images, SVGs, Fonts & Documents

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

ADVERTISEMENT
Privacy-Friendly Sponsor Unit
Contextual tech, developer, & creator tools sponsorship slot. Zero intrusive tracking.

How It Works Under the Hood

Converts UTF-8 character byte streams into standard RFC 4648 Base64, percent-encoded URI strings, hexadecimal bytes, or HTML entity representations entirely on the client side.

Step-by-Step Instructions

1

Select your format: Base64, URL Percent, Hexadecimal, or HTML Entities.

2

Paste your text or let Auto-Detect identify the input format.

3

Toggle Encode or Decode, or use the Swap button to reverse direction.

4

Upload local images or SVGs to generate Base64 Data URIs with 1-click copy.

Key Features & Performance

  • Smart Format Auto-Detect: Identifies Base64, URL, and Hex strings automatically
  • URL-Safe Base64: Replaces + and / with - and _ for URL parameter safety
  • File to Base64 URI: Drag-and-drop images to get instant data:image URIs
  • UTF-8 Safe: Handles special characters, emojis, and international alphabets accurately

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. Base64, URL & Hex Multi-Format Encoder/Decoder runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

What is the difference between standard Base64 and URL-Safe Base64?

Standard Base64 contains "+" and "/" characters, which have special meanings in URLs (like query string delimiters). URL-Safe Base64 replaces "+" with "-" and "/" with "_", and omits padding "=".

Does this tool support emojis and non-English characters?

Yes! Microdeck uses TextEncoder and TextDecoder to handle all UTF-8 characters and multi-byte emojis properly without broken character corruption.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD): Selected: $5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.