Redact secrets from text

The redacted version goes to the ticket or forum; the full version goes with onlyU to the one person who needs to read it.

The text is analysed in your browser: it is sent nowhere.

Redacted version, safe to post

Send with onlyU — Your recipient gets a link they can open only once, then the link is gone. onlyU opens in a new tab with the secret already filled in: all you have to do is create the link. Free, no sign-up. How does it work?

“Copy” copies the redacted version, for the ticket or forum. “Send with onlyU” passes on the full version, secrets included, to the one person who needs to read it.

Review before posting: the tool recognises common key formats and fields named like passwords, not every possible secret.

Computed in your browser. Nothing is sent unless you choose onlyU.

What the tool detects

Paste an error log, a configuration excerpt or the body of a ticket: every recognised secret is replaced as you type, and the page tells you how many it redacted, and of which type. It is a quick way to redact secrets and mask API keys in logs before sharing them. The analysis runs in your browser, using patterns, and covers two families of secrets.

Formats published by vendors

  • PEM and OpenSSH private keys, from the -----BEGIN … PRIVATE KEY----- line to the closing line;
  • AWS access key IDs (AKIA…, ASIA…);
  • GitHub tokens (ghp_, gho_, ghs_, github_pat_…) and Slack tokens (xoxb-, xoxp-…);
  • Stripe secret and restricted keys (sk_live_, rk_test_…);
  • Google API keys (AIza…) and JWTs.

Secrets announced by their context

  • the value of an Authorization: Bearer or Authorization: Basic header;
  • the password in a URL of the form scheme://user:password@host, with the user and host left readable;
  • Password= and Pwd= values in connection strings;
  • the value of any field whose name contains password, secret, token, api_key, client_secret, private_key, credentials…, whether in a .env file, YAML, JSON or a PHP array.

Placeholder values stay as they are: ${DB_PASSWORD}, ***, <your-key> or changeme are not secrets, so the text stays readable.

An example

2026-11-21 10:42:07 ERROR Upload to S3 failed
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
DATABASE_URL=postgres://app:S3cr3t-example@db.internal:5432/app
Authorization: Bearer example0000dummy0000token

becomes, with the label style:

2026-11-21 10:42:07 ERROR Upload to S3 failed
AWS_ACCESS_KEY_ID=[REDACTED:AWS key]
DATABASE_URL=postgres://app:[REDACTED:password]@db.internal:5432/app
Authorization: Bearer [REDACTED:token]

AKIAIOSFODNN7EXAMPLE is the key AWS uses as an example in its documentation; the other values are made up.

Label or first four characters

The label tells you which type of secret was there, which is usually enough to make sense of the log. The other style keeps the first four characters, followed by dots: AKIA••••••••. Whoever reads it can tell which key was involved, or spot that a Stripe test key (sk_t…) was used instead of a live one (sk_l…). Values of 12 characters or fewer, and private keys, always get the label.

Copy for the ticket, send the full version

The “Copy” button copies the redacted version, ready for the ticket, the forum or the support request. If someone needs the full text to troubleshoot, “Send with onlyU” passes them the complete version, secrets included, from one tab to another in your browser, without putting it in a URL or routing it through the kit's server. onlyU encrypts it in your browser and creates a link that opens only once, valid for 24 hours, then disappears.

Review before posting

The tool removes secrets in known formats and those announced by their field name. Your review covers the rest: a token stored in a field with an innocuous name, a session cookie, a key from a provider with a less common format, a password passed as a command-line argument. It also sometimes masks a harmless value out of caution, such as the expired in token: expired: the text remains easy to follow.

To learn where secrets slip in, and what to do if one has already been posted, read our guide sharing logs without exposing secrets. To read the contents of a token found in a log, the JWT decoder shows it without sending anything.

Frequently asked questions

Is the pasted text sent anywhere?

No. The analysis runs in your browser, and the page is not allowed to make network requests. Only a click on “Send with onlyU” passes on the full version, from one tab to another.

Which secrets are recognised?

Formats published by vendors (AWS, GitHub, Stripe, Slack and Google keys), JWT and Bearer tokens, Basic headers, private keys, passwords in a URL or a connection string, and the values of fields named password, secret, token, api_key…

Can I post the result without reviewing it?

Always review it: a secret in an unknown format, or stored in a field with an innocuous name, is not detected. The tool removes most of the risk; your review does the rest.

Why keep the first four characters?

So that a colleague can tell which key is involved (sk_l…, AKIA…) without being able to use it. Private keys are always fully redacted.

A secret has already been posted: what should I do?

Treat it as compromised: revoke it and replace it, then check the logs of the service concerned. Deleting the message is not enough, as it may have been copied or indexed.