Skip to content
PrimeForgeTools

Security

Secret Generator

Generate cryptographically secure, .env-safe application secrets. Every character comes from a 64-symbol alphabet that survives shells, quoting and .env parsing intact.

Length64–128
Generated secret0 chars

From the command line

The same URL answers curl with the secret alone — one line, one newline, nothing to strip. Without ?length, the server picks a random length between 64 and 128.

curl -fsS https://tools.primeforge.app/secret
curl -fsS 'https://tools.primeforge.app/secret?length=128'