What is a CSRF token?
A CSRF token is an unpredictable value used to confirm that a state-changing request originated from the expected application session.
Security
Generate cryptographically secure CSRF tokens locally in your browser.
Generate cryptographically secure CSRF tokens locally in your browser.
This tool runs in your browser. Your input is processed locally and is not uploaded.
Use this CSRF token generator to create high-entropy values suitable for synchronizer-token patterns and development workflows. Tokens are generated locally with the browser cryptography API.
A CSRF token is an unpredictable value used to confirm that a state-changing request originated from the expected application session.
A token should contain sufficient random entropy. A value based on at least 128 random bits is commonly appropriate.
No. The application must also store, send and validate the token correctly for protected requests.