Quick links
General description
Reductor de tokens (Token Reducer) converts documents into Markdown (.md), the format that AI systems read best and most cheaply. When a PDF or a Word file is given to an AI tool, it spends tokens and tools converting it, and sometimes reads it badly; with the .md already prepared, the AI receives only the text, with its headings, lists and tables. Everything happens on the user's own computer: neither the documents nor any data leave the machine.
Needs addressed
Preparing administrative and legal documents for AI tools at a lower cost and with better reading quality, and, when needed, removing personal data before the documents leave the organisation.
Features
- Converts PDF (with text or scanned, with OCR), .docx, .odt, .txt and images; spreadsheets (.xlsx, .ods, .csv), presentations (.pptx, .odp), saved web pages (.html) and e-mails (.eml).
- A single file, a whole folder or a .zip, into one .md per document or a single .md for the whole case file.
- Removes headers and footers repeated on every page, joins broken lines and end-of-line hyphens, and marks headings (annexes, chapters, articles).
- Can split long documents into parts of a given size, with an index, and estimates tokens before and after conversion.
- Large spreadsheets (over 500 rows) are saved as a separate .csv next to the .md, which only lists the column names.
- Optional anonymisation with the same engine and encrypted register as Anonimizador jurídico, so that a person gets the same code in both programs; human review by default.
- No accounts, advertising or analytics; it does not connect to the internet or open any port.
- Interface in Spanish and Galician.
Intended audience
Public administrations, law offices, courts and anyone who works with AI tools on long documents.
Reuse
Microsoft Store (Reductor de tokens), and unsigned installers for Windows and macOS. Source code in the repository: https://github.com/jllfontan-bot/anonimizador-juridico. Free software, dual-licensed: EUPL-1.2 or AGPL-3.0, at the user's choice (SPDX: EUPL-1.2 OR AGPL-3.0-only).
Standards
EUPL-1.2 (SPDX); open formats Markdown, ODF and CSV.
Policy contribution
Responsible and cost-efficient use of AI in the public sector, and protection of personal data (GDPR).
Developed by José Luis López Fontán as a private individual. Not an official tool of any administration.