Drop in PDFs, Word docs, spreadsheets, slides, images and more — TokenCraft converts them to clean Markdown and gives you an honest, tokenizer-based verdict on whether converting actually saved you tokens, instead of just assuming it did.
| File Name | Format | Native | Converted | Savings | Status | |
|---|---|---|---|---|---|---|
| No files converted yet. | ||||||
TokenCraft converts every file to Markdown client-side — nothing is uploaded to a server — and then runs a real cl100k tokenizer over both the original and converted content so the comparison is grounded in actual token counts, not guesses.
Extracts text page-by-page, estimates the native (image) token cost per page using Claude's own vision pricing formula, and flags whether a PDF is text-based or image-heavy.
Converts Word documents to clean Markdown via Mammoth + Turndown, preserving headings, lists, links and formatting.
Every sheet becomes a Markdown table, with proper header rows and cell escaping.
Pulls the text out of every slide into a readable, slide-by-slide Markdown outline.
Turns markup into Markdown, stripping scripts and styles while keeping tables and structure intact.
Arrays of uniform objects become Markdown tables; everything else is pretty-printed in a fenced code block.
Optionally sent to OpenAI's vision API (with your own key, straight from your browser) for text transcription — otherwise left as a placeholder.
Unpacks and converts every supported file inside, combining them into a single Markdown report.
Uses the same cl100k_base tokenizer behind GPT-family models (with a char/4 fallback if the CDN is unreachable) — not a rough estimate.
Only compares formats where a fair native-vs-converted baseline exists (PDFs and OCR'd images) and will tell you plainly when conversion adds overhead instead of saving tokens.
Download a single .md file, everything as a .zip, or save straight to a folder on your device via the File System Access API.
Drag your files onto the drop zone (or click to browse), optionally enable AI vision for scanned pages or images with your own OpenAI key, and click Optimize & Convert Files. Everything runs instantly in your browser. Review each file's savings verdict in the report table, then export individually, as a .zip, or straight to a chosen folder.
Each comparable file gets a plain-language badge: Strong savings when converting uses under half the tokens of the native upload, Moderate savings for a meaningful reduction, No real difference when the two are close, and Conversion adds overhead when the Markdown actually costs more tokens than uploading the file natively. Files without a fair baseline (DOCX, XLSX, plain images without OCR, etc.) are marked "No baseline for this format" rather than guessed at.