MewTools

SecurityTool 09

Random Hex Generator

Produce a random hex value for a token, identifier or test fixture.

Runs locallyNo uploadNumber of bytesFree, no account

Random Hex Generator

165 / 232

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.

How to use it

01

Add number of bytes in the field above. Nothing is uploaded while you type.

02

Press “Generate hex”. The hex string appears in the result panel instantly.

03

Copy the hex string or download the file, then close the tab.

When to use it

API tokens

Create a random identifier that is easy to log and copy.

Salts and nonces

Generate random bytes for a hashing or encryption routine.

Test data

Fill fixtures with unique hex values that will not collide.

Questions

Is the output secure?

It uses the browser's cryptographic random source, so it is suitable for secrets when handled correctly.

How long is the string?

Each byte becomes two hex characters, so 16 bytes produce 32 characters.

Does this tool upload my data?

No. Everything runs in this browser tab with JavaScript, so number of bytes never leaves your device.

Is the hex output suitable for a security token?

It is drawn from the browser's cryptographic random source, so each character is independent and unpredictable. For a token, generate enough length — 16 bytes, or 32 hex characters — rather than a short value.

How do I get a fixed-length hex string?

Set the number of characters and the output is padded to that length. An odd length is fine for an identifier, but if the value will be read as bytes, keep it even so every byte has two digits.

↑↓ to move↵ to openEsc to close