Create a File from Hex Values
Convert hexadecimal numbers to a file. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
0 chars · 0 lines
Output
Convert hexadecimal numbers to a file.
Type or paste above to see the result here.
What you paste never leaves this tab
Create a File from Hex Values is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.
- No upload
- No length limit
- Works offline once loaded
- Nothing stored or logged
How to use Create a File from Hex Values
- 1. Paste the hex values. Enter the hexadecimal numbers you want turned into a file's raw bytes, one after another, however they were given to you.
- 2. Review how values map to bytes. Value size writes each value as you typed it or at a fixed 8, 16, 32 or 64 bits, and Byte order picks big or little endian, so deadbeef at 32-bit little endian becomes ef be ad de. The preview shows the first bytes, so the order is easy to check, and a value too big for its size is reported.
- 3. Download the file. Set File name and Extension (Auto follows the bytes), then download the file.
When to use Create a File from Hex Values
Create a File from Hex Values turns a plain list of hexadecimal numbers into a downloadable binary file, entirely in your browser. It is for whenever a hex listing, spec table or generated sequence needs to exist as an actual file rather than just text.
- Assembling a file from a spec's example bytes. A file format specification lists example hex values for a minimal valid file, and you want to actually generate that file to test against a real parser.
- Turning a generated byte sequence into a file. You produced a list of hex values from another tool or script and need them saved as a real binary file for the next step in your workflow.
- Recreating a small data file for a course exercise. An assignment gives you the exact hex bytes a file should contain, like the letters Hi, and you need a quick way to produce that file for submission.
Examples
Bytes to file
Input
48 49
32-bit little endian values
Input
deadbeef 00001234
16-bit values
Input
1 2 3 4
About the Create a File from Hex Values tool
Create a File from Hex Values runs as plain JavaScript in your browser tab, with no server behind it. Convert hexadecimal numbers to a file. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's Hex Tools section, 108 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
You can shape the output with 4 settings, including Value size, Byte order, File name and Extension (auto follows the bytes), and the result refreshes the moment you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. 3 worked examples further down the page show exactly what the tool produces for real inputs.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.
Frequently asked questions
Does Create a File from Hex Values cost anything?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
How much text can I process at once?
There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.