Free T4 XML generator for CRA

If you pay employees in Canada and issue more than 5 T4 slips for a year, CRA wants them filed electronically. One way to do that is an XML file uploaded through CRA's Internet File Transfer (IFT). TaxXML turns the T4 spreadsheet you already have into that file, in your browser, for free.

Information and a conversion tool, not advice

TaxXML provides information and a conversion tool only. It is not tax, legal, or accounting advice. CRA specifications change, so always verify the requirements, and your files, against the CRA's official XML specifications for information returns before you file.

Open the free T4 converter

What a T4 XML file is

A T4 XML file is one <Submission> with two parts:

You upload the file to IFT, which checks it against CRA's XML schema. Electronic filing is required once you file more than 5 slips of a type in a calendar year. Below that, it is optional but still accepted.

CRA XML specifications in plain terms

CRA publishes the rules for these files as XML specifications and a downloadable schema. TaxXML follows schema 1-26-3: T619 2026 for the transmitter record and T4 2026V4 for the return. The elements you will see most:

The full rules are on CRA's site: XML specifications for information returns and the T619 2026 specification.

How to make a T4 XML file in 3 steps

  1. Open your spreadsheet. T4 is already selected in the converter. Open the .xlsx or .csv with one row per employee. Not sure how to lay it out? Download the T4 sample spreadsheet.
  2. Check the columns and fill in the filing details. TaxXML matches your headers to CRA fields. Fix any it missed, then enter the transmitter and employer details. Those are saved in this browser for next time.
  3. Generate and download. Problems are listed by row and column before anything downloads. Then upload the XML to IFT signed in with My Business Account, Represent a Client, or a web access code (WAC).

Convert my T4 spreadsheet

Common reasons CRA rejects a T4 XML file

Other free CRA XML returns

The same converter handles these. Pick the return in Step 1:

T4 XML questions

Do I have to file T4 slips electronically?

Yes, if you file more than 5 T4 slips for a calendar year. CRA requires electronic filing above that number. Internet File Transfer with an XML file is one of the accepted ways.

Which CRA XML schema does TaxXML use?

CRA XML schema 1-26-3: T619 2026 and T4 2026V4. It also follows CRA's rule that empty optional tags must be left out, because IFT rejects them.

Is my payroll data uploaded anywhere?

No. The spreadsheet is read and the XML is built in your browser. TaxXML does not send the file to a server or to CRA. You upload it to Internet File Transfer yourself. See Privacy.

Does TaxXML submit the file to CRA for me?

No. You download the XML and upload it through CRA's Internet File Transfer, signed in with My Business Account, Represent a Client, or a web access code (WAC).

How do I fix a T4 that CRA already accepted?

File an amendment: set Report Type to Amendment (A) and include only the slips that changed, each one complete. Use a new Submission Reference ID. Do not send a second original.

Is it really free?

Yes. No signup, no per-slip fee, no email required.