PDF/Office → Markdown Parser
Strip layout bloat (margins, footers, page numbers, XML noise) and convert PDF/Word docs into clean Markdown — with results you can review before use.
pdf.js + mammoth.jsClean, compress, and sanitize text before sending it to any model — reducing unnecessary prompt content. Savings depend on the input and model.
Showing all 7 tools
Reduce unnecessary prompt content — clean, compress, and sanitize text before sending it to any model. All processing stays in your browser.
Strip layout bloat (margins, footers, page numbers, XML noise) and convert PDF/Word docs into clean Markdown — with results you can review before use.
pdf.js + mammoth.jsPaste any web page HTML and strip <script>, <style>, <nav>, trackers & iframes — outputs only core semantic content. Review the result to check that useful content is retained.
DOMParser APIRemove repetitive quotes, commas & brackets by converting JSON to YAML or TOON notation — compare estimated sizes for your own data.
js-yaml.jsSplit massive files into token-sized parts (e.g., 2,000 tokens each) — choose paragraph, sentence, word, or hard boundaries. Ideal for RAG.
JSZip DownloadDelete all comments (#, //, /* */), trailing tabs/spaces, and blank-line bloat from Python, JS, C#, and more — review the output before using it; syntax and meaning can change.
Regex EngineEstimate prompt tokens, input and output costs, repeated-use budgets, and context usage. Enter provider token counts for more precise cost planning.
Approximate estimateHide names without titles, project names, contract numbers, emails, and phones. Review each match and add custom phrases before sharing letters or AI prompts.
Regex ScannerLearn before you optimize
Learn how to reduce avoidable token usage, prepare documents, structure data, build useful chunks, and remove personal information.
Try a different keyword — e.g., "pdf", "token", "json", "code".