Tools › Entity types

Online presence

Redact profile URLs from text, JSON, and CSV

URLs are ambiguous: a documentation link is harmless and a personal profile link is not. Redactly reports every http and https URL so you can decide, rather than leaving the decision to a guess.

Try it on the live API No signup. 2,000 characters, 20 runs per 10 minutes.
Output appears here.

How Redactly detects profile URLs

  • Matched by regex for http and https URLs.
  • The full URL is the span, including path and query string, because the path is often the identifying part.
  • Runs independently of the model.

Why redact profile URLs?

Profile URLs frequently contain a real name or handle and resolve to a public page about the person.

Example request

curl -X POST https://api.bitbanger.in/v1/redact \
  -H "X-API-Key: rdct_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Applicant portfolio: https://example.com/people/jane-doe", "style": "replace"}'

Every hit in the response carries entity, text, start, and end. The offsets index into the text you sent, so you can apply the redactions to your own copy of the document. The full response schema is in the API reference.

Questions

Does Redactly redact profile URLs automatically?

Yes. Send text to the API and every detected type is redacted, including profile URLs. To redact only this type, pass the value online.url in the entities filter. No training or configuration is required.

What happens to profile URLs after redaction?

With style set to replace, each match becomes [online.url] — the entity type in square brackets. Setting style to mask replaces every character with a block character, and remove deletes the span entirely.

Related entity types

Redact profile URLs in production

Get an API key and send your first request in a minute. Plans start at $24/month.

See pricing