Encode text or files to Base64, decode Base64 strings, convert images to data URLs β all in your browser. Zero upload.
or click to browse β converted to Base64 in-browser
PNG, JPG, GIF, WebP, SVG β Base64 data URL for CSS/HTML
+, / and = which break URLs. URL-safe Base64 (RFC 4648) replaces them with -, _ and no padding. Used in JWT tokens, OAuth, file names.
Base64 is an encoding scheme that converts binary data to ASCII text using 64 printable characters (A-Z, a-z, 0-9, +, /). It's used to safely transmit binary data over text-only channels like email, HTML attributes, or JSON.
Base64 encoding increases size by approximately 33% β every 3 bytes of input become 4 characters of output. Padding with = aligns to 4-char blocks.
Power features for devs handling binary data daily.