17 Browser-Local Tools
AI, RAG Markdown & PII Masking Tools
Extract PDF, Word, HTML, and Excel into RAG-ready Markdown, slash JSON tokens with TOON, build JSONL fine-tuning datasets, count LLM tokens, and anonymize contracts or financials before AI.
TxtTo's AI & Markdown hub combines 17 offline tools covering RAG extraction (PDF/DOCX/XLSX), 35–55% TOON token compression, JSONL builders, token counters, and reversible [[TYPE-NN]] PII anonymizers.
Recommended Local Tools
PDF to Markdown
Extract confidential PDFs into clean, RAG-ready Markdown locally using self-hosted PDF.js—restoring headings and merging wraps.OpenWord to Markdown
Unpack .docx OOXML locally in pure TypeScript—preserving headings, lists, links, and GFM tables without uploading documents.OpenHTML to Markdown
Cleanly convert HTML pages into GitHub Flavored Markdown—stripping <nav>, <script>, and <style> boilerplate automatically.OpenMarkdown to HTML
Render Markdown to DOMPurify-sanitized HTML and copy directly as Rich Text for Word, Google Docs, Notion, or Gmail.OpenMarkdown to PDF
Export Markdown documentation into clean A4 or US Letter PDF files locally—with theme presets and full CJK Unicode support.OpenExcel to Markdown
Convert Excel (.xlsx, .xls, .ods), CSV, or pasted TSV sheets into aligned GitHub Flavored Markdown pipe tables.OpenPDF to TXT
Extract unformatted plain text from PDF documents locally with smart line-wrap merging and optional page-break markers.OpenJSON to TOON
Convert JSON payloads into Token-Oriented Object Notation (TOON) to cut LLM prompt tokens by 30–60% with live savings meter.OpenTOON to JSON
Decode Token-Oriented Object Notation (.toon) back into formatted, lossless JSON objects and arrays in browser memory.OpenCSV to JSONL
Convert CSV spreadsheets into fine-tuning JSONL datasets with Raw, OpenAI Chat messages[], and Alpaca templates.OpenJSON to JSONL
Convert JSON arrays (including nested paths like $.items) to newline-delimited JSONL/NDJSON, or JSONL back to JSON.OpenRemove AI Markdown
Strip **bold**, *italics*, ### headings, and ``` fences from AI responses so text pastes cleanly into Word, Docs, or email.OpenLLM Token Counter
Estimate offline token counts, context window usage %, and API input cost across GPT-5, Claude 4, and Gemini 2.5 locally.OpenAnonymize Text for AI
Mask names, emails, phones, IDs, and custom terms locally with AI-resilient [[TYPE-NN]] codes, then reverse AI replies cleanly in browser RAM.OpenPII Redactor
Detect and redact emails, phones, addresses, Luhn cards, IBANs, SSNs, China IDs, and dev secrets 100% offline with zero false-positive checksums.OpenAnonymize Contract for ChatGPT
Mask Party A, Party B, contract amounts, and case numbers with alias binding and uniform date shifting, then restore AI edits in browser RAM.OpenAnonymize Financial Text
Redact bank cards, IBANs, and tax IDs while proportionally scaling amounts by ×k and shifting dates so AI preserves ratios and growth rates.OpenFrequently Asked Questions
How do TxtTo's PDF, Word, and TOON tools work offline without external APIs?
PdfToMarkdown uses a self-hosted PDF.js worker, Word uses pure-TypeScript OOXML parsing, and TOON compresses JSON keys in local RAM.
Can I anonymize contracts and financial documents before pasting into ChatGPT?
Yes. Our PII tools replace names, IDs, and amounts with reversible [[TYPE-NN]] tokens and proportional scaling offline.