Base64 & URL Encoder / Decoder
Encode and decode text, URLs, and HTML entities. All processing is client-side.
Plain text
→
Encoded
Output appears here…File → Base64
Convert any file (image, PDF, binary) to a Base64 string.
Format reference
Base64
Standard encoding using A-Z, a-z, 0-9, +, /. Padded with =. Used in email attachments, JWTs.
Base64 URL
URL-safe variant - replaces + with -, / with _, no padding. Used in OAuth tokens, JWTs.
URL Encode
Percent-encodes special characters. Used in query string values.
Form Encode
Like URL encode but spaces become + instead of %20. Used in HTML form POST.
HTML Entities
Encodes <, >, &, ", ' for safe display in HTML. Prevents XSS.