Formats

Anonymize Markdown and keep the structure

Note apps, wikis and developer docs run on Markdown, and that is exactly where names, emails and customer details pile up. When you anonymize Markdown with Diskretio, these details are replaced in the text while headings, lists, tables and code blocks stay as they are.

anonymize.shresponse.json

# Anonymize a file, report as JSON

$ curl -X POST "$API/v1/files?response=json" \

-H "x-api-key: $ANON_KEY" \

-F "file=@Employment_Contract_Smith.pdf" \

-F 'options={"strategy":"placeholder","language":"en"}'

HTTP/1.1 200 OK · x-pages-charged: 3 · x-pages-remaining: 1757

{

"filename": "anonymized.pdf",

"pages": 3,

"report": {

"counts": {

"PERSON": 6,

"ORG": 2,

"ADDRESS": 3,

"IBAN": 1,

"TAX_ID": 1,

"NATIONAL_ID": 1,

"EMAIL": 1

},

"entities": [{ "id": "PERSON_1", "label": "PERSON", "occurrences": 4 }, …],

"warnings": []

},

"content_base64": "JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PC9UeXBl…"

}

# page 1 of the output

Between [ORG_1] and [PERSON_1], [ADDRESS_1] …

Your formats and the AI tools you work with afterwards

  • Word
  • Excel
  • PowerPoint
  • Outlook (emails)
  • PDF
  • Scans & photos
  • TXT Text & CSV
  • ChatGPT
  • Claude
  • Microsoft Copilot
  • Gemini
  • Mistral
  • DeepL
  • Perplexity

Typical Markdown files with personal data

  • Meeting notes with attendees and action items
  • Exports from wikis and knowledge bases
  • Project READMEs with contacts
  • Incident reports and post-mortems mentioning customers
  • Personal notes from apps such as Obsidian

How it works

  1. 1

    Upload the MD file

    Or paste the content. The file is read as text.

  2. 2

    Replace

    Names become [PERSON_1], emails [EMAIL_1], person-related links [URL_1].

  3. 3

    Reuse it

    Get a .md file with the same syntax, for an AI summary or for publishing.

Why Markdown and AI fit together

Markdown is an ideal input format for language models: headings and lists give structure without clutter. But anyone asking an AI to summarise or rewrite notes or wiki pages often sends along the names of colleagues, customers and partners.

Diskretio replaces these details before the text leaves your environment. Placeholders are numbered, so the AI still sees that [PERSON_2] in section 1 and section 4 is the same person.

FAQ

Questions. Answered briefly.

Try it with your own document

10 pages per month are free. No subscription, no credit card.