White search icon
News

The XML Renaissance: How the IRS's New Tax Withholding Estimator Is Reviving a Data Format

A groundbreaking new tool from the IRS uses XML to modernize tax calculations, proving its relevance for today’s tech landscape.

14-03-2026 |


A groundbreaking new tool from the IRS uses XML to modernize tax calculations, proving its relevance for today’s tech landscape.

Yesterday marked a significant milestone for both taxpayers and tech enthusiasts as the Internal Revenue Service (IRS) unveiled their latest project: the Tax Withholding Estimator (TWE). This free, open-source tool allows users to input personal financial details such as income, deductions, and other relevant information. The goal is straightforward yet crucial—estimating tax obligations at year-end while adjusting current withholdings on paychecks.

Reviving XML: A Modern Data Format

The announcement of TWE comes with a twist that challenges the long-held perception of eXtensible Markup Language (XML) as an outdated and cumbersome data format. According to its creator, who has been leading this project since summer 2025, “The IRS is not only embracing XML but also showcasing it as a viable solution for modern software development.”

“I’ve always believed that XML had more to offer than just being relegated to legacy systems,” the engineer explains. “With TWE, we’re proving its relevance in today’s tech landscape by leveraging it for both static site generation and complex data representation.”

The Tax Withholding Estimator: A Breakdown of Its Components

TWE is built on two key XML configurations:

  • Fact Dictionary: This document serves as the IRS’s official interpretation of the US tax code, providing a structured representation for all relevant financial and legal facts.
  • Fact Graph: A logic engine that calculates taxpayers’ obligations based on these facts. Originally developed for IRS Direct File but now adapted to TWE, it plays a crucial role in determining total owed amounts through complex calculations involving multiple factors like income, deductions, credits, and more.

The engineer elaborates: “The Fact Graph is the heart of our system. It takes raw data from the Fact Dictionary and applies logical rules to derive meaningful insights.” For instance, one fact describes a /totalOwed figure that results from subtracting total payments made throughout the year from the overall tax liability.

This approach not only streamlines the calculation process but also ensures transparency in how taxes are calculated. “By breaking down these calculations into logical steps,” says the engineer, “we can make complex financial data more accessible and understandable to taxpayers.”

Why XML Matters for Public Sector Software Development

The use of XML in TWE highlights several important aspects that could influence future public sector software development:

  • Cross-Platform Compatibility: XML’s structured nature makes it ideal for cross-platform applications, ensuring seamless data exchange between different systems and devices.
  • Maintainability: The declarative syntax of XML allows developers to define complex logic in a human-readable format. This can significantly reduce the complexity involved in maintaining large codebases over time.

“While there are certainly more modern alternatives available,” acknowledges the engineer, “XML’s proven track record and widespread adoption make it an excellent choice for projects like TWE where clarity and transparency are paramount.”

A Call to Action: Contributing to Open Source Success

The IRS has taken a bold step by making TWE open source. This move not only encourages collaboration but also democratizes access to advanced tax calculation tools.

“We’re excited about the potential for public contributions,” says the engineer, “as we believe that collective effort can lead to even more innovative solutions in the future.”

TWE is just one example of how traditional data formats like XML are finding new life in modern tech environments. As taxpayers and developers alike embrace this tool, it’s clear that sometimes, old technologies still have a lot left to offer.


An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.