Skip to content
ToolSuite

File to Hex

Convert a file into a hexadecimal string.

or drag it here

Any file · up to 8 MB

Processed in your browser

Fill in the form and press “Convert” to see the result here.

How to use it

  1. 1Select your file, or drag and drop it onto the upload area.
  2. 2Adjust the options if you need something other than the defaults.
  3. 3Press the button. Everything happens on your device.
  4. 4Download the result.

About the File to Hex

Hex is the standard way to paste binary data into a script, a test fixture or a bug report. Set the separator to nothing for a continuous string.

Questions people ask

Is your file uploaded to a server?

No. This tool runs entirely in your browser using standard web APIs, so your file never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.

Is it free, and do I need an account?

Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.