Code · Made a little simpler
Base64 and Hex File Converter
Convert local files to Base64 or hex and restore the original bytes. Paste encoded text or read it from a file, inspect the result and download it locally.
Base64 and hex file round-trip guide
Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Base64 and Hex File Converter: how to use it
- Select Encode or Decode and choose Base64 or Hexadecimal. Use a local file or pasted text.
- Run the conversion and inspect the byte count and available text preview.
- Copy the complete text or download the result to check its contents.
Limits and notes
Up to 12 MiB of original or decoded bytes. Pasted text and encoded files use UTF-8. The preview shows up to 8,192 characters. Downloads contain the complete result.
How your privacy works →Base64 and Hex File Converter: common questions
Can this recover files containing zero bytes?
Yes. Zero bytes are valid throughout a binary file, including at its beginning and end.
Can I paste spaced hexadecimal byte pairs?
Yes. ASCII whitespace is ignored. Every byte still needs two hex digits.