Skip to content

Secret Key Generator

256-bit keys as hex, Base64 or Base64URL (for JWT, sessions, APIs)

Runs on your device

How to use Secret Key Generator

  1. Set the options: “Size”, “Encoding” and “How many”. Reset puts them back.

  2. Press Generate, then copy or download the result.

About Secret Key Generator

256-bit keys as hex, Base64 or Base64URL (for JWT, sessions, APIs).

Secret Key Generator: common questions

Is Secret Key Generator free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is what you enter uploaded anywhere?

No. Secret Key Generator works on this device only, so what you enter stays private. You can even turn off the internet once the page is open.

What can I change?

3 settings, including “Size”, “Encoding” and “How many”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More security tools

All 25 security tools