Skip to content
All work

Live2026

Prompt2MD

Turns any document into lean Markdown that costs fewer AI tokens.

  • TypeScript
  • Model Context Protocol
  • Node.js

The problem

Before an AI can read a PDF or a web page, it has to be turned into text, and every extra word costs money and room. Most converters either lose the layout or keep a lot of clutter.

What I did

Prompt2MD turns a document into clean Markdown that keeps headings and tables and drops the clutter. It puts the parts that never change at the top, so AI providers can reuse them between calls instead of charging for them again.

It works as a website, a command-line tool and a plug-in for AI assistants.

What happened

In one measured example, a 1,834-token document shrank to 1,481 tokens, 19% smaller, and asking about it a second time cost 91.1% less on a provider that reuses repeated input.

It is covered by 317 unit tests and 15 end-to-end tests.

Next projectSupplyShield