PufferKit
HomeSecurityDeveloperSecret Key Generator
Default
India11
East Asia3
Other Countries3
Buy me a coffee

Secret Key Generator

256-bit (128 to 512-bit) secret keys formatted as Hex, Base64, and Base64URL.

Generating…
256 bitsVery strongOffline crack estimate (10B/s): billions+ years

More

    Generated locally via crypto.getRandomValues
    Runs in this browser · nothing uploaded

    Computed locally via Web Crypto. Secrets never leave this browser tab.

    How to use Secret Key Generator

    1. Choose a key size from 128-bit up to 512-bit (default 256-bit).

    2. Inspect the same raw random bytes rendered simultaneously as Hex, Base64, and URL-safe Base64URL.

    3. Click the copy button beside the encoding required by your application or environment file.

    Frequently asked questions

    What key size should I use for HMAC or AES?

    256-bit (32 bytes) is recommended for AES-256 and HMAC-SHA256 secrets.

    A LITTLE SUPPORT GOES A LONG WAY

    Enjoying PufferKit?

    If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

    Support
    With or without a coffee, you’re always welcome here.

    Processing locally

    File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

    How it works →

    Find a tool

    Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages