Secret Key Generator

Create cryptographically random secret material in lowercase hexadecimal or unpadded Base64url format.

This tool runs entirely in your browser. Your files are never uploaded to a server.

Generated locally with Web Crypto. Store real secrets securely; no browser generator can manage rotation, permissions, revocation, or server-side storage.

What this generator does

Create cryptographically random secret material in lowercase hexadecimal or unpadded Base64url format.

How to use it

Choose the available options, generate the requested count, review the output and copy it when ready.

Output structure

Create cryptographically random secret material in lowercase hexadecimal or unpadded Base64url format.

Example

A 32-byte secret becomes 64 hexadecimal characters or 43 Base64url characters, representing the same entropy size.

Randomness and safety

Random values use crypto.getRandomValues rather than Math.random. Outputs are generated independently and validated against the documented shape.

Limitations

Generated material is not stored or recoverable here. Production secrets still require a secure vault, access policy and rotation plan.

Privacy

Generation runs locally in your browser. Inputs, generated keys and mock records are not uploaded or retained by this tool.

Frequently Asked Questions

Secret Key Generator: What this generator does?
Create cryptographically random secret material in lowercase hexadecimal or unpadded Base64url format.
Randomness and safety?
Random values use crypto.getRandomValues rather than Math.random. Outputs are generated independently and validated against the documented shape.
Limitations?
Generated material is not stored or recoverable here. Production secrets still require a secure vault, access policy and rotation plan.