Encode File to Hex (Base16)

This file to hex (base16) online tool helps you encode local or remote file to hex string to without uploading file.

Input
File
Drag and drop the file here or click to select a file. It will not upload the file.
Output
Settings

What is Hex (Base16) encoding?

Hex (Base16) is a binary-to-text encoding defined by RFC 4648. It represents bytes using the 16 characters 0-9 and A-F. Encoded data is about 100% larger than the original.

Common uses: displaying hashes, keys, binary dumps and color codes.

How to encode Hex (Base16) online

  1. Choose or drop a file into the Input area.
  2. Adjust the character encoding or options in Settings if needed.
  3. Copy the result from the Output box.

Conversion runs locally in your browser. Your data is never uploaded.

Frequently asked questions

Is Hex (Base16) encryption?

No. Hex (Base16) is an encoding, not encryption. Anyone can decode it, so never use it to hide secrets.

Is this Hex (Base16) encoder free and private?

Yes. It is free, needs no account, and runs entirely in your browser.

Why is my Hex (Base16) output larger than the input?

Hex (Base16) uses fewer bits per character than raw bytes, so output grows by about 100%.

Related tools