Decode SGVsbG8= to Hello in your browser. Try the reverse conversion and understand padding, UTF-8 errors and the difference from encryption.
Processed on your deviceNo account needed
Base64 encoder & decoder
Dev / 06
The form contains this example. Change the values to try your own input.
Result
Base64 represents bytes as printable characters. This example decodes SGVsbG8= to the five-letter word Hello. The tool is intended for UTF-8 text; a Base64 string that represents an image or arbitrary binary data may not decode to readable text.
Example input
SGVsbG8=
Expected result
Hello
Try it step by step
Keep decode selected and leave SGVsbG8= in the input.
Run the decoder and compare the result with Hello, including its uppercase H.
Switch to encode and enter Hello without a trailing newline to reproduce the original Base64.
How to read the result
The equals sign is padding, not part of the decoded word. Spaces and newlines in the original text are bytes too, so encoding Hello followed by a newline produces a different result. Use the Base64url option only for the matching alphabet and format.
Limits and important details
Base64 is encoding, not encryption. Invalid Base64 or invalid UTF-8 produces an error. For arbitrary bytes, use the Hex to Base64 example in Security Lab instead of treating the result as text.
Convert Unicode text to Base64 or Base64url and back.
Input → Run → Result. Processed on your device.
Google Analytics measures page views only after consent. It runs in a separate frame without access to tool data. Random cookie identifiers are shared across Mindblown sites: the browser identifier lasts up to two years and the session identifier for 30 minutes. You can withdraw consent in Cookie settings.
Your data & advertising
Tool inputs and files are processed in your browser. They are not uploaded or saved by these tools. Reloading clears your work. Downloads and your system clipboard remain under your control.
Production pages display Adsterra ads in frames on a separate origin. The ad provider receives connection data such as your IP address and browser information and may use cookies. It cannot read tool inputs through these frames. Hosting also processes connection metadata.