UTF‑8 to Base64 Converter - Online Encode Text
Encode any text, including emojis and foreign scripts, into a Base64 string. Perfect for data URLs. Local.
UD5 Toolkit
Convert any file to Base64 string & decode Base64 back to downloadable files — instantly, securely, right in your browser.
Drag & drop your file here
or click to browse — any file type supported
Tip: Base64 encoding increases file size by ~33%. For files larger than 50 MB, encoding may take a few seconds. All processing happens locally in your browser — no data is ever uploaded to any server.
Note: If your Base64 string includes a Data URI prefix (e.g., data:image/png;base64,...), the file type will be auto-detected. Otherwise, please specify the filename below.
data:image/png;base64,...), there's a small extra overhead for the MIME type declaration. This tool shows you the exact size comparison after encoding.
iVBORw0KGgo...), suitable for API payloads and backend processing. A Data URI includes a prefix that specifies the MIME type and encoding (e.g., data:image/png;base64,iVBORw0KGgo...), allowing it to be used directly in HTML <img> tags, CSS backgrounds, or browser address bars. Our tool lets you toggle between both formats — enable "Include Data URI prefix" for web embedding, or disable it for API usage.
base64 on Linux/macOS or certutil on Windows.
photo.jpg, report.pdf), and click "Decode & Download". If your Base64 string includes a Data URI prefix, the file type will be auto-detected. The tool converts the Base64 back into binary and triggers a download of the reconstructed file — all locally in your browser.
<img src="data:image/png;base64,...">. However, be aware that some email clients (especially older versions of Outlook) have limited support for Data URIs. For maximum email compatibility, traditional linked images (hosted on a server) are generally preferred. For web pages, Base64 embedding can reduce HTTP requests but may increase HTML file size and prevent browser caching of images.
Encode any text, including emojis and foreign scripts, into a Base64 string. Perfect for data URLs. Local.
Decode a Base64 encoded string that contains UTF‑8 text (emojis, international characters). See the raw output. Local.
Paste a string and verify if it is valid Base64. Auto‑detects padding issues and character errors. Quick dev check.
Encrypt or decrypt text using the classical 5x5 Polybius square. Excludes J or merges I/J.
Encode or decode data to/from Base58 (Bitcoin alphabet). Useful for cryptocurrency address generation testing. Fully local, no data sent.
Paste text with \uXXXX or \xXX escape sequences and decode to readable characters. Works for all Unicode planes.
Drop files onto a zone and see a preview with name, size, and type. Copy the JavaScript pattern for your site.
Paste a Base64 data URI and download the image directly. Supports JPEG, PNG, GIF, WebP. Safe local processing.
Decode an image progressively using the ImageDecoder API. See partial results and metadata. Modern alternative to <img>.
Encode latitude/longitude into a geohash string and decode a geohash back to coordinates with precision info. Local algorithm.
Convert integers into short, unique, YouTube‑style IDs (hashids) and decode them back. Customize salt and minimum length.
Turn multiple images into a single Base64‑encoded sprite sheet and get the corresponding CSS background‑positions. Local.
Convert your text into a string of emojis using a simple substitution cipher. Share secret messages that look fun. Decode them with the same tool. All local.
Hide your email address from scrapers by encoding it using HTML entities and CSS tricks. Still clickable for real users. Local generator.
Upload multiple text files and concatenate them into one, with optional separators. No upload; processed instantly.
Instantly convert plain text into HTML‑safe escaped characters for secure display in web pages. Prevent cross‑site scripting. All processing local.
Paste a data: URL and instantly download the file it represents. Supports all MIME types. Simple extraction.
Convert multiple images to Base64 data URIs at once. Copy individually or as a JSON array. Great for inline assets. Local.
Drop any file to see its raw hexadecimal representation and ASCII side‑by‑side. Navigate with offset. Client‑side only.
Enter Braille dot numbers (1‑6) or paste Unicode Braille to decode into English text. Companion to text‑to‑Braille.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Drop a file to see its MIME type and the first few magic bytes (hex and ASCII). No upload, works instantly.
Upload a small file to see each byte as a block, color-coded by value. Visualize the structure of binary data. Client-side.
Paste a raw cookie string and see a formatted key‑value table. Debug session cookies and understand flags. Runs in browser.
Upload an image containing a QR code and decode its content. Works offline using JavaScript QR decoder. No camera needed.
Find out the real destination of any shortened link (bit.ly, t.co, etc.) without clicking. Resolves redirects locally using public HTTP headers.
Escape HTML special characters to prevent XSS attacks, or unescape HTML entities back to original text. Essential for web developers. Runs locally.
Break down any URL into its individual components: protocol, hostname, path, query parameters. Decode query strings easily. Purely client-side.
Obfuscate strings using simple techniques to prevent casual reading. Useful for hiding spoilers or email addresses from bots. Decode with the same tool.
Decode Base64 encoded strings back into viewable images and download them as PNG. Useful for debugging APIs and data URIs. Secure local processing.