TOOLS HUB
Generate passwords, secure tokens and SHA-256 hashes.
Choose the tool that matches your task
These tools solve different jobs: creating random strings, calculating a text digest, or drafting a browser security policy. Choose by the output your application needs.
- Password Generator: choose a length and character groups, then generate a random password. Use a separate password for each account and keep it in a password manager.
- Secure Token Generator: choose a byte count and encode the random bytes as hexadecimal or Base64URL. At 32 bytes, the output is 64 hex characters or 43 unpadded Base64URL characters. Changing the encoding does not add randomness.
- API Key Generator: create API-key style strings with an optional prefix for prototypes and format experiments. A generated string does not grant access to a service; credentials for a third-party service must come from that service.
- SHA-256 Hash Generator: calculate a digest of UTF-8 text. Spaces, line breaks and character differences can change the digest. This page hashes text, not uploaded files, and does not encrypt the input.
- CSP Generator: draft an HTTP response header from source allowlists. Start with Report-Only, check violations and required resources, then test before enforcing. Inline scripts or styles may need nonces or hashes beyond this starter tool.
Check the output before using it
For random strings, match the receiving application’s allowed alphabet and length. A fixed prefix is a label, not additional randomness. Production tokens also need application-side validation, permissions, expiration where appropriate, and revocation; a generator does not supply those controls.
For a digest comparison, keep the exact input text and encoding consistent. For a CSP, test real pages and interactions such as forms, downloads and API requests. A policy that blocks a required source can break a working feature.
What these tools do not verify
Generating a password or token does not prove an account or application is secure. A hash is not a security audit, and a starter CSP is not a complete site policy. Review each tool’s stated limits and keep secret values out of public code, URLs and screenshots.
For CSP deployment details, see MDN’s Content Security Policy guide.