Batch Token Counter

Select multiple .md / .txt files and count tokens for each locally. Export a CSV summary — nothing is uploaded.

All processing on this page runs locally in your browser unless noted otherwise.

Batch counting runs locally. Your files never leave your device.

Drop .md / .txt files here, or use Select files.

How to use

  1. Pick a model (and optional encoding / custom price).
  2. Select or drop multiple Markdown or text files.
  3. Review the table, then Export CSV for spreadsheets.

FAQ

Are files uploaded?

No. Files are read with the browser FileReader API and counted locally. Nothing is sent to a server.

What file types are supported?

Plain text and Markdown (.txt, .md). Binary formats (PDF, DOCX) are out of scope for this privacy-first tool.

Can I export results?

Yes — download a CSV of the summary table, including per-file token and cost estimates.

Related tools