← All Tools

Sentry DSN Parser & Builder

Parse Sentry DSNs into parts (public key, host, project ID), build the corresponding ingest URLs, and generate the X-Sentry-Auth header. Everything runs locally — no requests are made, keys never leave your browser.

DSN

Format: <scheme>://<public-key>[:<secret>]@<host>[:<port>]/<project-id>

Parsed parts

Ingest URLs & headers

Envelope endpoint

Store endpoint (legacy)

Security (CSP) endpoint

Minidump endpoint

Tunnel path (relay)

X-Sentry-Auth header

Included on every request to the ingest API. sentry_version=7 is the current default. The secret key is optional for modern SDKs.

Store event via curl

Sends a single minimal event envelope. Useful for health-checking a DSN.

JavaScript

Python

Go

Notes

Copied!