Programação
Programming
Base64 — Text
encode and decode
Convert any text to Base64 or decode Base64 back to the original text with one click. Common in authentication tokens, embedded images, JWTs, and APIs that transport binary content as text.
How to use
- 1Type or paste the text you want to encode into the input field.
- 2Click 'Encode' to turn the text into Base64, or 'Decode' to convert Base64 back to the original text.
- 3The result appears automatically in the output box, ready to be copied.
- 4Use the 'Copy' button to take the result wherever you need it.
Practical examples
Encode credentials for an Authorization header
Encode the text 'username:password' in Base64 to build an HTTP Basic Auth header.
Decode a JWT's payload
Paste the middle section of the token (between the dots) into the decoder to view the original JSON in plain text.
Check the content of a Base64 string from an API
Paste the string into the decoder to quickly verify whether the content matches what you expected.
Frequently asked questions
Is Base64 a form of encryption?
No. Base64 is just an encoding scheme, not encryption. The content can be decoded by anyone without a key.
Why does Base64 increase data size?
Base64 encoding represents every 3 bytes of data as 4 characters, increasing the size by approximately 33%.
Does it work with accented characters and special symbols?
Yes. The tool supports UTF-8 characters, including accents, emojis, and other special symbols.
