Base32 Encoder Decoder
Encode UTF-8 text or hex bytes as RFC 4648 Base32, or decode canonical Base32 into hex, text and a byte file.
Open toolEncode Unicode text into standard Base64 or decode padded Base64 back to UTF-8 text. Choose a direction, inspect the output and copy the converted text.
Enter the inputs, then select Calculate.
Result will appear here
The encoder converts UTF-8 text bytes to standard Base64, while the decoder validates the padded representation and requires valid UTF-8 output.
Whitespace around Base64 can be ignored during decoding, but Base64url is a different alphabet. This changes a representation and provides no encryption.
The field is limited to 100000 characters.

Review the input parameters, allowed value ranges, and worked reference cases for the Base64 Encode Decode below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: Text or Base64 | (User supplied) | Input type: textarea | Required workspace parameter |
| Input: Direction | (User supplied) | Options: Encode, Decode | Required workspace parameter |
Choose encode or decode and use text in the supported standard Base64 format.
Select Encode or Decode and enter the source text or standard Base64. Encoding expects Unicode text. Decoding expects canonical standard Base64 with the required padding, not JWT-style Base64url.
Run the conversion and inspect the Encoded or Decoded result. Its character total describes the generated output, while the main text panel contains the value to review.
Copy the output after checking the direction. Read the encoding note: this is not encryption. A decoding failure can mean invalid padding or bytes that are not UTF-8 text, rather than a lost password.
Compare baseline and alternative runs for Base64 Encode Decode before exporting the result.
Decode a field documented as standard Base64 text to read its contents. Keep the source field name and encoding convention with your notes. If the field holds binary data instead, a decoding error does not establish that the original data is corrupt.

Encode a small known message for an integration fixture that explicitly expects UTF-8 text in Base64. Use the destination requirements to choose the representation. Encoding here does not create a file upload, sign a message, or send a request.

Encode text and decode the resulting string to inspect whether the characters survive the round trip. Include meaningful nonASCII characters and line breaks in the sample. This checks the chosen text representation rather than the behavior of a separate application.

Review the calculated output alongside your entered parameters and unit conventions.
Every calculation follows the rule: Text is encoded as UTF-8 bytes, then represented using the standard Base64 alphabet. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (This text tool rejects decoded bytes that are not valid UTF-8. It does not handle arbitrary binary files or URL-safe Base64. Base64 is encoding, not encryption) before applying the value to production specifications, financial models, or lab records.

Choose the direction that matches your source and keep meaningful whitespace when it forms part of the text.
Operational scope: This text tool rejects decoded bytes that are not valid UTF-8. It does not handle arbitrary binary files or URL-safe Base64. Base64 is encoding, not encryption. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Developer Tools? Use the related tools linked below to chain your workflow without leaving your browser.

Encode UTF-8 text or hex bytes as RFC 4648 Base32, or decode canonical Base32 into hex, text and a byte file.
Open tool
Group binary digits into eight-bit bytes and decode them as strict UTF-8.
Open tool
Convert hex, decimal, or binary byte arrays to UTF-8 strings with strict validation, or encode text into hex, decimal, and JSON byte arrays.
Open toolChoose another tool for your next calculation, conversion, or text task.

Encode arbitrary file bytes as standard Base64, without guessing a text encoding.
Open tool
Validate pairs of hexadecimal digits and decode the bytes as strict UTF-8.
Open tool
Encode text as eight-bit binary UTF-8 bytes.
Open tool
Encode text as lowercase hexadecimal UTF-8 bytes.
Open toolAnswers about using Base64 Encode Decode and understanding its results.
Yes. Unicode text is UTF-8 encoded before Base64 conversion.
The input must be canonical padded standard Base64 and decode to valid UTF-8.
This form returns Unicode text and rejects bytes that are not valid UTF-8. It is not a binary-file converter.
No. Use canonical padded standard Base64 here. JWTs use their own Base64url segment representation.
Choose another tool for your next calculation, conversion, or text task.