← All Tools

API Key Redactor🔒 100% local

Scrub secrets from JSON. Privacy-first, no server uploads, no tracking.

Related Tools

API ClientAspect Ratio ScalerBrowser Storage Cleaner

Runs pasted text against a set of regular expressions for well-known credential shapes and replaces every match with a redaction marker, reporting a count per pattern and printing the scrubbed copy underneath. The scan happens in the page, so the secret you are trying to clean up is not sent anywhere while you clean it.

How to use it

  1. Paste the config, log line or curl command into the box.
  2. Press Process once the text is in, and the counts appear above the scrubbed copy.
  3. Read the count list, then copy everything under Safe to share and read it once more before sending it on.

Worked example

curl -H "Authorization: Bearer 0987654321abcdefghij" https://api.example.com/v1/mebecomesRedacted 1 secrets from 82 chars: 1× Bearer token Safe to share: curl -H "Authorization: Bearer [REDACTED]" https://api.example.com/v1/me

The surrounding command is untouched, so the redacted line still runs as a template. The summary line reads 1 secrets regardless of the count.

{"api_key":"sk-abcdEFGH1234ijklMNOP"}becomesRedacted 2 secrets from 37 chars: 1× OpenAI-style secret key 1× key/secret assignment Safe to share: {"api_key":""[REDACTED]"}

Two rules match the one key, so the count reads 2, and the replacement leaves a doubled quote behind in the JSON.

nothing secret herebecomesNo known secret patterns found in 19 chars. Supported: OpenAI sk-*, GitHub gh*_*, AWS AKIA*, Google AIza*, Slack xox*, JWTs, Bearer tokens, private key blocks, key/secret/token assignments in quotes, and credentials embedded in mongodb/postgres/mysql/redis URIs. Your text is unchanged: nothing secret here

When to use it

What it does not do