Encode & Decode
Base64 and URL encoding both ways, and images to Base64 data URIs — all client-side, nothing uploaded.
Encode text to Base64, or decode it back. Unicode-safe.
Plain Text
Base64
Percent-encode text for a URL or a single URL component, or decode it back.
Plain Text
URL Encoded
Drop an image and get a data URI, raw Base64, an <img> tag or a CSS background.
Drag & drop an image here
Warning: This file is larger than 1 MB. Embedding large images as base64 is not recommended — it increases page weight and bypasses browser caching.