Input is rejected
remove surrounding quotes, confirm the Standard/URL-safe setting, check padding and verify that the value was not truncated.
Encode or decode text and files with standard or URL-safe Base64. Inspect byte length and padding, then copy or download the result.
Use this page to turn UTF-8 text or file bytes into Base64, reverse a Base64 value, or inspect padding and byte counts. Select Standard for the normal alphabet or URL-safe when the receiving system expects Base64URL.
Convert now
Enter or upload
Paste text or choose a file
Choose an action
Encode, decode or inspect
View results
Review output and byte details
Input bytes
101010 111100 110101 ...
Split into 6-bit groups
101010 111100 110101 ...
Convert to indexes
42 60 53 ...
Base64 characters
q 8 1 ...
Paste the source value or choose a file supported by this page.
Choose Encode or Decode, then select Standard or URL-safe Base64.
Review the output and byte information, then copy or download the result.
The page handles encoding, decoding and inspection. Standard Base64 uses the RFC 4648 alphabet; the URL-safe form substitutes - and _ for characters that are awkward in URLs.
Use Standard Base64 for the normal RFC 4648 alphabet. Use URL-safe only when the receiving system expects Base64URL; padding rules can differ by protocol.
Choose the variant from the receiving specification, not from guesswork. Base64URL is common in tokens and URLs, while many APIs still require standard Base64.
Typical workflows include:
Important constraints:
remove surrounding quotes, confirm the Standard/URL-safe setting, check padding and verify that the value was not truncated.
the bytes may not be UTF-8 or may be binary. Inspect the same payload with the hex or binary page.
No. Base64 is reversible encoding and must not be used as a secrecy or access-control mechanism.
Standard Base64 uses + and /. Base64URL uses - and _ and may omit padding; choose the form required by the receiving system.
Base64 maps every three input bytes to four output characters and may add padding, so the payload is normally about one third larger.
You can open the page in a modern mobile browser. File selection, memory use and downloads vary by device, so use a small input for mobile workflows.
Continue with the localized page that matches the next operation:
Paste your input above, run the conversion, and copy or download the result.