randstr

Random strings, done right.

Tokens, passwords, IDs and keys from a cryptographically secure source. Free in the browser. A free account is needed for the API. Pro or Super for bulk.

This browser
Entropy — —

One string per line
Length Max 64
How many Max 5
Prefix
Suffix

Free covers up to 5 strings of 64 characters. Pro is 1 request per second. Super is 100 strings, length 1024, at 3 requests per second.

See Pro →

Off: the server generates the secret. That is the default for the API and for bulk. On: Web Crypto runs in this tab and the value is not sent to randstr. SSH key pairs stay on the server.

Export
Secure by defaultGenerated with a cryptographic random source. The strings themselves are not stored.
Built for developersOne HTTP call from any language, with predictable limits.
Bulk when you need itPro and Super export CSV, JSON, SQL, or .env. Super goes to 100 strings of length 1024.

Simple pricing

Start free. Pro is $5 CAD / month or $49 CAD / year. Super is $9 CAD / month or $99 CAD / year. Nothing is charged until Stripe price IDs are configured.

Free

$0 CAD
  • Up to 5 strings per request
  • Length up to 64
  • 30 API calls per minute
  • All character sets, UUID, and presets
Use it now

Pro

$5 CAD / month

or $49 CAD / year

  • 1 request per second
  • Up to 50 strings per request
  • Length up to 256
  • CSV, JSON, SQL, and .env export
Get Pro

Super

$9 CAD / month

or $99 CAD / year

  • 3 requests per second
  • Up to 100 strings per request
  • Length up to 1024
  • CSV, JSON, SQL, and .env export
Get Super

API

Same generator. Off-site calls need a token from the dashboard.

curl -H 'Authorization: Bearer YOUR_TOKEN' \
  'https://randstr.com/api/randstr?type=hex&length=32'
Get an API key