Pembuat token aman
Buat kunci rahasia atau token
Berjalan di browser Anda · Tanpa unggah
Alat ini dan petunjuk di halaman ini untuk sementara berbahasa Inggris. Cara kerjanya sama: semuanya berjalan di browser Anda.
Browser Anda terlalu lama untuk menjalankan alat ini. Perbarui browser Anda, atau gunakan versi terbaru Chrome, Edge, Firefox, atau Safari.
- Tidak ada yang keluar dari perangkat Anda
- Tanpa batas ukuran dari server
- Tanpa daftar, tanpa watermark
- Gratis
How to generate a secure token
- Choose the format and strength (or length).
- Add a prefix if your keys use one, like sk_live_.
- Copy or download the tokens.
Which strength to choose
- 128 bits is the minimum for API keys, secrets and session IDs.
- 256 bits suits signing keys (for example JWT HS256 secrets) and long-lived secrets.
- Digits-only codes are for short-lived codes only: 6 digits is about 20 bits.
How the tokens are made
Every token comes from your browser's cryptographic random generator (crypto.getRandomValues), the same one used for encryption keys. Letters are picked without bias, so every character is equally likely. Nothing is stored or sent: once you leave the page, the tokens exist only where you copied them.
Pertanyaan umum
How is this different from the Password Generator?
The Password Generator makes passwords for people to type and remember. This makes machine secrets: API keys, signing secrets and IDs, in hex or Base64.
Are the tokens sent anywhere?
No. Everything happens in your browser, and the page is blocked from uploading anything.