๐Ÿ›ก๏ธ 100% On-Device Privacy ยท Zero Cloud

Censor private data & shrink docs to fit into any AI prompt

DocSanitizer converts messy, bloated documents (PDF, DOCX, HTML, EPUB) into clean, token-optimized Markdown โ€” with on-device PII scrubbing, header/footer stripping, and real-time token analytics. All powered by a native Rust engine that never lets your data leave the device.

โšก Launch Web App
Download on the App Store Coming Soon
GET IT ON Google Play Coming Soon

Free tier available ยท Web App now live ยท iOS & Android coming soon

โœ“ Zero Cloud
โœ“ No Telemetry
โœ“ RAM-Only Processing
โœ“ Native Rust Engine
โœ“ Works Offline
Interactive Demo

Test On-Device Sanitization Right Now

Type sensitive data below. Watch emails, phones, cards, and extra whitespace disappear in real time โ€” 100% locally in your browser.

Raw Document Input
Sanitized Output -0% tokens
Raw Tokens 0
Sanitized Tokens 0
Features

Everything you need to prep documents for AI

From PII redaction to token optimization โ€” all running locally on your device.

๐Ÿ›ก๏ธ

Automated PII Censorship

Instantly redact emails and phone numbers. Pro adds credit cards (Luhn-verified), SSNs, IPv4 addresses, and custom regex rules with live preview.

โšก

Token Optimization

On-device tiktoken BPE counting for ChatGPT, Claude, and universal estimation. Collapse whitespace, repair line breaks, and strip soft hyphens to cut token size by up to 50%.

๐Ÿ“„

Multi-Format Support

Process PDF, DOCX, EPUB, HTML, plain text, and images via hardware-accelerated on-device OCR. No uploads, no conversion servers.

๐Ÿ“ค

Share-Sheet Ingestion

Send documents straight from Files, Safari, Mail, or Chrome into DocSanitizer in one tap via the system share sheet.

๐Ÿงฉ

Smart Auto-Chunking

Split long documents into context-sized parts on section boundaries with auto-generated <part_N_of_M> labels (Pro).

๐Ÿ“ฆ

Custom XML Wrappers

Encapsulate output in structured <context> prompt tags for better instruction adherence (Pro).

How it works

Three steps to a cleaner prompt

Your data never leaves your device at any point in the process.

1

Import

Share a PDF, DOCX, EPUB, HTML, or image from any app โ€” or open a file directly.

2

Sanitize

PII is scrubbed, formatting is normalized, and tokens are counted โ€” all in RAM on your device.

3

Paste into AI

Copy clean, token-optimized Markdown and paste it into ChatGPT, Claude, DeepSeek, or NotebookLM.

๐Ÿ”’

Your data never leaves your device

DocSanitizer was built around a single non-negotiable principle: your document data stays on your device. All parsing, regex scrubbing, PII redaction, and token optimization execute 100% locally in transient RAM using a high-performance native Rust engine. Zero network calls, zero tracking, zero cloud telemetry.

Pricing

Simple, honest pricing

Start free. Upgrade when you need more power.

Free

$0

Forever

  • 5 files per day
  • Up to 15 pages per file
  • Header / footer stripping
  • Email + phone PII scrubbing
  • On-device token counting
  • No auto-chunking
  • No custom regex
Try Web App Free
Most Popular

Pro

$14.99/yr

or $29.99 lifetime

  • Unlimited files & pages
  • Deep PII redaction (credit card, SSN, IPv4)
  • Custom regex rules
  • Smart auto-chunking
  • Custom XML wrappers
  • Batch file processing
Get Started on Web

๐Ÿ“ฑ Native iOS & Android apps are coming soon to the App Store & Google Play.

๐ŸŒ

Web App โ€” Now Live

DocSanitizer is now available in your browser. Same 100% on-device privacy, PII scrubbing, and token optimization โ€” with no data ever leaving your browser. Works with plain text files today; PDF/DOCX support coming soon.

Launch Web App