Schema Tax

How to Digitize Old Tax Returns Without Losing Data

By Schema TaxPublished Updated

To digitize old tax returns, sort the paper by tax year, remove staples, scan each return with its schedules and attachments as one PDF, and name it by year. Then pull a few key lines, such as wages, adjusted gross income and total tax, into one sheet, noting that line numbers changed across 1040 versions.

Preparing old tax returns for scanning

Preparing old tax returns for scanning means turning a bundle of stapled, folded paper into flat, ordered sheets a scanner can feed. Old returns usually come with W-2s clipped to the front, schedules stapled behind, and worksheets tucked in. Each of those needs handling before the first page goes in.

Start with a clear table and one tax year at a time. Mixing two years on the same table is the fastest way to end up with a 2016 schedule inside a 2017 file.

Staples, clips and folds

  • Remove every staple and clip. A staple caught in a sheet feeder can tear a page or jam the scanner. Use a staple remover rather than pulling, because old paper tears near the hole.
  • Flatten folds. A return mailed in an envelope often has two creases. Fold it the other way and press it under a book for a few minutes, or scan it on a flatbed with the lid closed.
  • Repair tears with care. Tape over a torn line of numbers can reflect light and hide digits. Tape on the back of the sheet, or scan torn pages on a flatbed.
  • Note what was attached. Before you unstaple, write down the order of the pages. A sticky note on top of the stack listing "1040, Sch A, Sch B, W-2 x2" makes reassembly easy.

Attachments that belong with the return

A filed return is more than the 1040. It includes the schedules, any forms attached for credits or sales, and the W-2s that were attached to a paper filing. Keep them together. Separate papers that belong to the year but were not part of the return, such as receipts or bank statements, go in a different file for the same year.

Worksheets from a preparer or tax software are worth scanning too. They often show how a number on the return was built, which the return itself does not.

Check for missing years

Lay out one stack per year before scanning and note any gaps. The IRS page for Form 4506, Request for Copy of Tax Return, describes the form used to request a copy of a return you no longer have. The IRS page on how long to keep records says to "Keep copies of your filed tax returns," because they help in preparing future returns and in making computations for an amended return.

Faded and photocopied old tax returns

Faded and photocopied old tax returns are the hardest pages to scan, because the contrast between ink and paper is low and OCR (optical character recognition) depends on that contrast. Carbon copies, thermal-printed pages and photocopies of photocopies all lose detail. A higher resolution and the right color mode recover most of it.

Settings that help with weak pages:

  • Scan in grayscale or color, not black and white. A black-and-white mode forces every pixel to pure black or pure white. Faint digits fall on the white side and disappear. Grayscale keeps the faint strokes, and software can enhance them later.
  • Raise the resolution for small print. Old returns have small type in narrow boxes. A higher setting gives OCR more pixels per digit.
  • Use the flatbed for curled or thin paper. Sheet feeders can skew thin paper, and a page scanned at an angle reads worse.
  • Keep the original file. Save the untouched scan, and make any brightness or contrast adjustments on a copy. If an adjustment wipes out a digit, the original still has it.

Handwritten returns add another layer. Many returns from before the era of tax software were filled in by hand. OCR reads clean block numerals better than cursive or crowded figures, so expect to type some values yourself. The post on whether OCR can read tax forms covers what reads well and what does not.

When a digit is illegible, do not guess. Mark the cell in your sheet as unreadable and note the page. Many totals can be rebuilt from the lines that feed them, and a copy requested from the IRS can settle the rest.

In what order should you scan old tax returns?

Scan old tax returns one year at a time, oldest to newest or newest to oldest, and keep each return in filing order: the 1040 first, then its numbered schedules, then other attached forms, then W-2s and 1099s. Each year becomes one PDF, so a schedule never drifts away from the return it belongs to.

A step list for one decade of returns

This example covers ten returns, from a fictional household's 2015 to 2024 filings:

  1. Sort by year. Make ten stacks on the table, one per tax year, using the year printed at the top of each 1040. Put stray pages aside until their year is clear.
  2. Remove staples. Unstaple one stack at a time and write the original page order on a sticky note.
  3. Order the pages. Put the 1040 on top, then Schedule 1 onward in numeric or letter order, then other forms, then W-2s and 1099s.
  4. Scan each return as one file. Feed the whole stack for one year in a single scan job. Turn on double-sided scanning if any page has print on the back.
  5. Check the page count. Compare the number of pages in the PDF with the stack. A sheet feeder that grabbed two pages at once leaves a gap.
  6. Name the file. Use a fixed pattern, such as 2019_1040_filed-copy.pdf. The scheme in the guide to naming digitized tax documents sorts files by year and form.
  7. Extract the key lines into one sheet. Add one row per year with the lines described in the next section.
  8. Restaple and store, or shred. Put the paper back in order. Decide on keeping or shredding only after every file has been checked.

The order inside each file matters more than the order of the years. A reviewer opening the 2019 file expects page one to be the 1040 and the schedules to follow. A schedule scanned into the wrong year's file is hard to find later, because nothing on the file name points to it.

Amended returns go in the same year as the original, as a separate file with an "amended" suffix. Keeping both shows what changed.

Pulling key lines from digitized old tax returns

Pulling key lines from digitized old tax returns means copying a few figures from each year into one table, so you can compare years without opening ten PDFs. The lines most worth extracting are filing status, wages, adjusted gross income, taxable income and total tax. Together they show the shape of each year.

A ten-year sheet has one row per return and one column per line:

Tax yearFiling statusWagesAdjusted gross incomeTaxable incomeTotal taxSource file
2017Married filing jointly$84,210$81,940$57,940$7,7422017_1040_filed-copy.pdf
2018Married filing jointly$86,500$84,100$60,100$6,8152018_1040_filed-copy.pdf
2019Married filing jointly$89,300$86,750$62,350$7,1002019_1040_filed-copy.pdf

All amounts in this table are fictional examples, not real returns.

Columns worth adding when they apply: taxable interest, ordinary dividends, capital gain or loss, and the refund or amount owed. Add a notes column for anything unusual, such as an amended return or an illegible line.

The source file column is the link back to the evidence. When a number in the sheet looks wrong, the file name shows which PDF to open.

This step is where reading software saves the most typing. Schema Tax reads a 1040 into named fields for filing status, income lines, AGI, taxable income and total tax, as the supported forms list shows, and flags any value it is unsure of for you to confirm. For a decade of handwritten returns, expect more of those flags. The tax OCR software checklist lists what to test before uploading old returns to any tool, and the post on tax document automation covers which steps still need a person.

What each 1040 line means, and how a line connects to the schedules, is the subject of the 1040 and K-1 category.

Old tax returns from years with different form versions?

Old tax returns from different years use different 1040 layouts, so the same figure sits on a different line number. Wages, adjusted gross income and total tax all moved when the form was redesigned. A ten-year sheet should use column names, such as "Adjusted gross income", not line numbers.

The IRS publishes past forms as PDFs, and comparing them shows how far the lines moved:

Figure2017 Form 10402018 Form 10402019 Form 10402025 Form 1040
WagesLine 7Line 1Line 1Line 1a (total from Forms W-2, box 1)
Adjusted gross incomeLine 37Line 7Line 8bLine 11a
Taxable incomeLine 43Line 10Line 11bLine 15
Total taxLine 63Line 15Line 16Line 24

The line numbers come from the 2017 Form 1040, the 2018 Form 1040, the 2019 Form 1040 and the 2025 Form 1040, all published by the IRS.

The 2017 form is a two-page return with dozens of numbered lines. The 2018 form is much shorter and moved many items onto numbered schedules: the 2018 Form 1040 itself adds amounts from Schedule 1 to total income and subtracts other Schedule 1 amounts to reach adjusted gross income, points to Schedule 4 for other taxes, and asks for Schedule 6 when there is a foreign address. Anyone reading a 2018 return needs those schedules in the same file, or the totals on the 1040 will not add up.

This is the main reason to name columns by meaning. A sheet with a column called "Line 7" holds wages for 2017 and adjusted gross income for 2018. A sheet with a column called "Adjusted gross income" is correct for every year, with the line number noted in the source.

Software that reads 1040s has the same problem. A reader that looks for "line 37" finds the wrong value on any form after 2017. A reader that finds the form's tax year first, and then the caption "adjusted gross income", gets the right value on each version. When you test a tool on old returns, include at least one form from before 2018 and one from after, and check that the AGI column lands on the right line for both.

All posts in Tax Form OCR Basics