File to Base32 & Base32 to File Converter
Encode files using RFC 4648 Base32 or decode Base32 to bytes.
How to use
Encoding the UTF-8 text foo yields MZXW6===. Paste it with the equals signs in Decode mode and download the three original bytes.
FAQ
Where is the Base32 download created?
The encoded text and decoded bytes are both generated on your device. The tool does not send the source file to a conversion service.
What is supported?
Files are limited to 8 MiB. Save encoded text in Encode mode or raw bytes in Decode mode. Decode mode reads Base32 text directly.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Check the RFC4648 foo vector, binary-byte round trips and invalid alphabet rejection. Decoder regressions cover retained Hex/Base64 source selectors and uploaded encoded text.
- Comparison reference
- RFC 4648 section 10 fixed foo → MZXW6=== vector; same @scure/base 2.0.0 inverse for binary cases.
- Verification scope
- Covers a standard Base32 vector and selected binary, pasted and uploaded inputs. The binary round trip uses the same codec.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- file-base32: RFC4648 vectors and binary file bytes
- File decoders treat input as encoded text regardless of the source byte selector
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.