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.

Quick Answer

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.
Open

Word to Markdown

Unpack .docx OOXML locally in pure TypeScript—preserving headings, lists, links, and GFM tables without uploading documents.
Open

HTML to Markdown

Cleanly convert HTML pages into GitHub Flavored Markdown—stripping <nav>, <script>, and <style> boilerplate automatically.
Open

Markdown to HTML

Render Markdown to DOMPurify-sanitized HTML and copy directly as Rich Text for Word, Google Docs, Notion, or Gmail.
Open

Markdown to PDF

Export Markdown documentation into clean A4 or US Letter PDF files locally—with theme presets and full CJK Unicode support.
Open

Excel to Markdown

Convert Excel (.xlsx, .xls, .ods), CSV, or pasted TSV sheets into aligned GitHub Flavored Markdown pipe tables.
Open

PDF to TXT

Extract unformatted plain text from PDF documents locally with smart line-wrap merging and optional page-break markers.
Open

JSON to TOON

Convert JSON payloads into Token-Oriented Object Notation (TOON) to cut LLM prompt tokens by 30–60% with live savings meter.
Open

TOON to JSON

Decode Token-Oriented Object Notation (.toon) back into formatted, lossless JSON objects and arrays in browser memory.
Open

CSV to JSONL

Convert CSV spreadsheets into fine-tuning JSONL datasets with Raw, OpenAI Chat messages[], and Alpaca templates.
Open

JSON to JSONL

Convert JSON arrays (including nested paths like $.items) to newline-delimited JSONL/NDJSON, or JSONL back to JSON.
Open

Remove AI Markdown

Strip **bold**, *italics*, ### headings, and ``` fences from AI responses so text pastes cleanly into Word, Docs, or email.
Open

LLM Token Counter

Estimate offline token counts, context window usage %, and API input cost across GPT-5, Claude 4, and Gemini 2.5 locally.
Open

Anonymize 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.
Open

PII Redactor

Detect and redact emails, phones, addresses, Luhn cards, IBANs, SSNs, China IDs, and dev secrets 100% offline with zero false-positive checksums.
Open

Anonymize 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.
Open

Anonymize 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.
Open

Frequently 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.