Generators

Random token generator

Generate random bytes as HEX, Base64 or URL-safe Base64 tokens.

Make it yours

Processed in your browser

Your result

A little input. A useful result.

Adjust the example inputs, then select Generate tokens.

A LITTLE KNOW-HOW

About this tool

Generate byte-based random tokens for development and local workflows using Web Crypto. Choose the amount of random data and its encoding; encoding changes the displayed length without changing the underlying random bytes.

How to use it

  1. 1

    Choose 16 to 256 random bytes per token.

  2. 2

    Select HEX, Base64 or unpadded URL-safe Base64 and the token count.

  3. 3

    Generate fresh tokens and copy the output.

Questions, answered

How many characters does 32 bytes produce?

Thirty-two bytes produce 64 hexadecimal characters, 44 padded Base64 characters, or 43 unpadded Base64url characters. All three represent the same amount of random data.

Can I use a generated token as an API key?

It can provide random material, but your application must still store it appropriately, compare it securely and support expiration or revocation. This page does not register tokens with any service.