Salt Generator

Generate cryptographically secure salts for hashing, password storage workflows, and test data.

Salt Generator tool

Salts should be random and unique. Press Ctrl/Cmd + Enter to generate.

Result will appear here.
Metric Value

Privacy: salt generation runs locally in your browser. No data is stored or transmitted.

Choose a byte size and output format. The salt is generated from secure random bytes using the browser crypto API.

Examples

  • 16 bytes → common compact salt size
  • 32 bytes → larger salt for stronger uniqueness margin
  • Base64 URL-safe → convenient for configuration or storage fields

FAQ

  • What is a salt?

    A salt is random data added to input before hashing so identical passwords or values do not always produce identical hashes.

  • Is this salt generator secure?

    Yes. It uses crypto.getRandomValues() in your browser.

  • What output formats are supported?

    This page supports hex and base64 URL-safe output.

  • Is anything stored?

    No. Everything runs locally and nothing is stored or transmitted.

Related tools