Base64 Encoder & Decoder
Convert readable text to Base64 or decode Base64 back to Unicode text. Your input stays on your device.
Input
Result
What Base64 does
Base64 represents binary data as text for transport and storage. It is an encoding format, not encryption, so never use it to hide passwords or confidential information.
How to use this encoder
Paste ordinary text into the input box and choose “Encode to Base64.” To reverse the process, paste a valid Base64 value and choose “Decode Base64.” “Use result as input” moves the output back into the input field so you can verify a round trip. The converter handles Unicode text, including Korean characters and emoji, in your browser.
Standard and URL-safe Base64
Standard Base64 uses the characters + and / and often ends with = padding. URL-safe Base64 replaces those characters with - and _; some systems also omit padding. Use the exact variant required by the receiving API or file format rather than assuming the forms are interchangeable.
Worked example
The text Hello encodes to SGVsbG8=. Decoding that value returns the original five-character word. Text containing non-ASCII characters produces a different byte sequence, so a Unicode-aware encoder is required to preserve it correctly.
Common errors and limits
Invalid characters, misplaced padding or truncated data can make decoding fail. Base64 also increases data size by roughly one third and does not identify the original file type. For files, hashes or security-sensitive tokens, follow the specification of the system you are using. Do not paste secrets into any tool unless your security policy allows local browser processing.