Password Generator
Generate passwords locally with secure randomness, selectable character classes and lengths from 8 to 128 characters.
Generate secure random tokens as hexadecimal or Base64url, with a selected byte length and quantity.
Create random byte tokens encoded as hexadecimal or unpadded Base64url text. The bytes are generated locally; configuring an application to accept the token remains a separate step.
Example: A 32-byte token encodes to 64 hexadecimal characters or 43 unpadded Base64url characters.
How it works: The browser supplies the requested number of cryptographically random bytes. Hex uses two characters per byte; Base64url uses a URL-safe alphabet and omits padding. Encoding does not add entropy beyond the random bytes.
The byte count controls random material; the encoding controls its text representation. Hex and Base64url can represent the same number of random bytes with different text lengths.
Thirty-two random bytes give 256 bits of random material. Hex uses 64 characters; unpadded Base64url uses 43 characters.
Guidance updated . Methods and corrections
References: w3.org (1) · rfc-editor.org (2)
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.