Deblank cuts LLM tokens 30% via AST-safe stripping
Deblank is an open-source tool that optimizes code for LLMs by removing human-centric formatting, saving up to 30% on tokens without compromising accuracy. This bidirectional transformation supports major languages while allowing developers to restore readability post-generation.
This is a pragmatic win for the LLMs are expensive era, turning human-readable code into token-efficient machine fodder without breaking the logic. A 30% reduction for Java and C++ can significantly extend context windows for legacy migrations, while the bidirectional, AST-safe nature ensures the code remains logically intact and human-reversible. With an average latency of 76ms, it is fast enough to integrate as a transparent preprocessing layer in IDEs or orchestration frameworks.
DISCOVERED
20d ago
2026-03-23
PUBLISHED
20d ago
2026-03-23
RELEVANCE
AUTHOR
zhangcen456