KitWharfFREEFast & Private Web Apps
100% Free • Instant • Nothing Leaves Your Browser

Base64 & URL Encoder / Decoder

Convert text to and from Base64 (standard or URL-safe) and percent-encoding — with full Unicode, emoji, and UTF-8 support.

0 characters
0 characters
Advertisement
Google AdSense Ad SlotHORIZONTAL (Auto-reserves space for 0 Cumulative Layout Shift)

How Base64 Works (and When to Use It)

Base64 represents every 3 bytes of binary data as 4 printable characters from the alphabet A–Z a–z 0–9 + /. That makes the output roughly 33% larger than the input, but safe to embed in text-only containers such as JSON, YAML, XML, data URIs, and HTTP headers.

Data URIs

Embed images and fonts directly in CSS or HTML as data:image/png;base64,…

APIs & JWTs

JWT header and payload segments are Base64URL-encoded JSON.

Email (MIME)

Attachments are Base64-encoded so binary data survives text-based mail servers.

URL Encoding: Which Characters Get Escaped?

Percent-encoding keeps URLs unambiguous. Reserved characters (&, =, ?, #, /) and non-ASCII characters are replaced by %XX byte sequences.

CharacterEncodedCommon context
space%20query strings & paths
+%2Bliteral plus in values (a bare + means space in forms)
&%26parameter separators
=%3Dkey=value delimiter
#%23fragment start
é%C3%A9UTF-8 two-byte sequence

Frequently Asked Questions

Advertisement
Google AdSense Ad SlotRECTANGLE (Auto-reserves space for 0 Cumulative Layout Shift)