Skip to main content
CodeLint.Dev AI · Dev · Finance

ACH File Validator

Paste or open a NACHA-format ACH file and see it parsed into header, batches, entries, addenda and controls, with every format problem pinned to a line and a column range. Read in your browser, never uploaded.

Load a sample

The file is read in your browser and never uploaded. Account numbers are masked to their last four characters below and in anything you copy or download. This checks the published file format, not the full Nacha rulebook or any one bank's extra requirements.

Fixed-width text, 94 characters per record. Line endings can be LF or CRLF, or absent altogether. Files up to 20.0 MB. 12 records · 1.1 KB

Check a routing number

The ninth digit is a check digit worked out from the other eight. Type a number to test it.

Result

Not valid: 11 errors and 1 warning in 2 batches, 6 entries

Originated by
TIDEWATER KAYAKS 1987654321
File origin
TIDEWATER KAYAKS LLC 1987654321
Sent to
FIRST EXAMPLE BANK 123456780
Created
2026-11-27 at 09:30 · file ID modifier A
Contents
2 batches · 6 entries · 0 addenda records · PPD
Total credits
$7,684.75 in 4 entries
Total debits
$90.00 in 2 entries
Effective
2026-12-01
Records
12, of which 0 padding · LF line endings

Checks 11 errors · 1 warning · 1 passed

  • error:Line 1 is 83 characters long; every record must be exactly 94. It is 11 short — usually trailing spaces stripped by an editor or an email client. Its fields were not checked.
  • error:Line 4: routing number 098756438 (columns 4–12) fails its check digit. For the first eight digits the ninth should be 4, not 8. One of the nine digits is wrong.
  • error:Line 6: the Addenda Record Indicator (column 79) is 1, but no addenda record follows the entry. Set it to 0, or add the type 7 record.
  • error:Line 7: Entry Hash (columns 11–20) is 0033524435; the records add up to 0033523535. It is the sum of the eight-digit Receiving DFI Identification (columns 4–11) of every entry in the batch, keeping the rightmost ten digits.
  • error:Line 7: Total Credit Entry Dollar Amount (columns 33–44) is 000000758475 ($7,584.75); the records add up to 000000768475 ($7,684.75). It is the sum of the Amount of every credit entry in the batch.
  • error:Line 8: Effective Entry Date (columns 70–75) must be a real date written YYMMDD. It holds "261131".
  • error:Line 10: Trace Number 123456780000005 does not come after the previous entry's 123456780000006. Within a batch trace numbers ascend, and no two are the same.
  • error:Line 8: Service Class Code 220 means credits only, but batch 2 holds 2 debit entries (the first on line 9). Use 200 for a mixed batch, or move the debits to their own batch.
  • error:Line 12: Block Count (columns 8–13) is 000001; the records add up to 000002. The file has 12 records; at 10 records to a block that is 2 blocks, counting a part block as one.
  • error:Line 12: Entry Hash (columns 22–31) is 0045870113; the records add up to 0045869213. It is the sum of the Receiving DFI Identification of every entry in the file — the same as the sum of the batch hashes — keeping the rightmost ten digits.
  • error:Line 12: Total Credit Entry Dollar Amount in File (columns 44–55) is 000000758475 ($7,584.75); the records add up to 000000768475 ($7,684.75). It is the sum of every credit entry in the file.
  • warning:The file has 12 records, which is not a multiple of 10. 8 more records of 94 nines would complete the last block. Nacha's guide and one layout say files are padded this way; one bank's specification says padding is permitted but not required.
  • Passed:Record order is right: one file header, 2 batches each opened by a header and closed by a control record, one file control record.

Checked against the file format as banks and Nacha publish it, read on 2026-11-23. A file that passes here can still be refused for reasons outside the format: a cut-off time, an entry class your bank has not enabled, a company ID it does not recognise.

Records

Each record is split into its fields: alternate shading marks where one ends and the next begins, and a wavy underline marks a field with a finding. Select a record to see each field's name, columns and value. Long lines scroll sideways inside their box.

The six record types and how they nest

An ACH file is plain text in which every record is exactly 94 characters and the first character says what kind of record it is. There are six kinds, and they always come in the same order:

  • 1 — File Header. One per file, first. Says who sends the file, who receives it, and when it was created.
  • 5 — Company/Batch Header. Opens a batch. Names the originating company, the Standard Entry Class, a description the receiver sees on a statement, and the effective entry date.
  • 6 — Entry Detail. One payment: the receiving bank's routing number, the account, the amount, the receiver's name and a trace number.
  • 7 — Addenda. Optional. Carries remittance information for the entry directly above it.
  • 8 — Company/Batch Control. Closes the batch with a count of its entries and addenda, an entry hash, and its debit and credit totals.
  • 9 — File Control. One per file, last. The same counts and totals for the whole file, plus the number of batches and blocks.
1  File Header
   5  Batch Header
      6  Entry Detail
         7  Addenda            (optional, belongs to the entry above)
      6  Entry Detail
   8  Batch Control
   5  Batch Header
      6  Entry Detail
   8  Batch Control
9  File Control
9999…  padding, to a multiple of ten records

A batch groups entries that share one company, one entry class, one description and one effective date; change any of those and you need a new batch. Fields come in two kinds. Numeric fields hold digits only, right-justified and filled with zeros on the left. Alphanumeric fields are left-justified and filled with spaces on the right. There are no delimiters: a field is found by its column position alone, which is why one missing or extra character breaks every field after it.

File Header record (type 1): field positions

Columns are numbered from 1. This layout is the same in all five record layouts read.

ColumnsLengthFieldContents
11Record Type Code1
2–32Priority Code01
4–1310Immediate DestinationA blank, then the nine-digit routing number of the bank or operator receiving the file
14–2310Immediate OriginIdentifies the sender. Sources differ: a blank and a routing number, or a ten-digit company number your bank assigns (often 1 followed by the tax ID)
24–296File Creation DateYYMMDD
30–334File Creation TimeHHMM, 24-hour clock. Optional
341File ID ModifierA–Z or 0–9. Tells apart files created on the same day: A for the first, B for the second
35–373Record Size094
38–392Blocking Factor10
401Format Code1
41–6323Immediate Destination NameName of the receiving bank. Optional
64–8623Immediate Origin NameName of the sender. Optional
87–948Reference CodeOptional; for the sender's own use

Company/Batch Header record (type 5): field positions

For every entry class except IAT, which uses columns 5 to 40 and 64 to 69 for foreign-exchange and currency fields.

ColumnsLengthFieldContents
11Record Type Code5
2–43Service Class Code200 mixed debits and credits, 220 credits only, 225 debits only
5–2016Company NameThe originating company, as the receiver knows it
21–4020Company Discretionary DataOptional
41–5010Company IdentificationA ten-character ID assigned by or agreed with your bank
51–533Standard Entry Class CodePPD, CCD, CTX, WEB, TEL and others
54–6310Company Entry DescriptionWhat the payment is for, e.g. PAYROLL. Shown on the receiver's statement
64–696Company Descriptive DateOptional; a date meaningful to the receiver
70–756Effective Entry DateYYMMDD: the day you intend the entries to settle
76–783Settlement Date (Julian)Leave blank. The ACH Operator inserts it
791Originator Status Code1
80–878Originating DFI IdentificationFirst eight digits of your bank's routing number
88–947Batch NumberAscending through the file, zero-filled: 0000001

Entry Detail record (type 6): field positions

The PPD and CCD layout. WEB and TEL use the same columns, with a Payment Type Code in 77–78. CTX and IAT differ in the middle of the record; see the note.

ColumnsLengthFieldContents
11Record Type Code6
2–32Transaction CodeCredit or debit, and the kind of account. See the transaction code table
4–118Receiving DFI IdentificationFirst eight digits of the receiver's bank routing number. These are what the entry hash adds up
121Check DigitNinth digit of that routing number
13–2917DFI Account NumberThe receiver's account, left-justified, spaces after
30–3910AmountIn cents, no decimal point, zero-filled: 0000125050 is $1,250.50
40–5415Identification NumberOptional; your own reference for the receiver
55–7622Receiving Individual or Company NameThe receiver's name
77–782Discretionary DataOptional. For WEB and TEL this is the Payment Type Code: R recurring, S single entry
791Addenda Record Indicator0 no addenda record follows, 1 one or more follow
80–9415Trace NumberThe eight-digit Originating DFI Identification, then a seven-digit sequence number, ascending within the batch

CTX splits columns 55–76 into Number of Addenda Records (55–58), Receiving Company Name (59–74) and a reserved field (75–76). IAT puts the Number of Addenda Records in 13–16, leaves 17–29 blank, and carries the foreign receiver's account number in 40–74 and two OFAC screening indicators in 77 and 78.

Addenda record (type 7): field positions

Addenda type 05, used with PPD, CCD, CTX and WEB entries. PPD, CCD and WEB allow one addenda record per entry, CTX up to 9,999, TEL none.

ColumnsLengthFieldContents
11Record Type Code7
2–32Addenda Type Code05
4–8380Payment Related InformationFree text or ANSI ASC X12 segments. In CTX, an X12 820 remittance runs across as many records as it needs
84–874Addenda Sequence NumberStarts at 0001 for each entry and counts up
88–947Entry Detail Sequence NumberThe last seven digits of the Trace Number of the entry this record belongs to

An IAT entry is followed by seven mandatory addenda records, types 10 to 16, carrying the receiver, the originator and both banks; types 17 (remittance) and 18 (foreign correspondent bank) are optional.

Company/Batch Control record (type 8): field positions

ColumnsLengthFieldContents
11Record Type Code8
2–43Service Class CodeThe same as in the batch header
5–106Entry/Addenda CountNumber of type 6 and type 7 records in the batch
11–2010Entry HashSum of columns 4–11 of every entry in the batch, rightmost ten digits
21–3212Total Debit Entry Dollar AmountSum of the debit entries, in cents
33–4412Total Credit Entry Dollar AmountSum of the credit entries, in cents
45–5410Company IdentificationThe same as columns 41–50 of the batch header
55–7319Message Authentication CodeOptional; normally blank
74–796ReservedBlank
80–878Originating DFI IdentificationThe same as in the batch header
88–947Batch NumberThe same as in the batch header

File Control record (type 9): field positions

ColumnsLengthFieldContents
11Record Type Code9
2–76Batch CountNumber of type 5 records in the file
8–136Block CountNumber of blocks of ten records in the file, counting every record
14–218Entry/Addenda CountNumber of type 6 and type 7 records in the file
22–3110Entry HashSum of the entry hashes of every batch, rightmost ten digits
32–4312Total Debit Entry Dollar Amount in FileSum of every debit entry, in cents
44–5512Total Credit Entry Dollar Amount in FileSum of every credit entry, in cents
56–9439ReservedBlank

A padding record is 94 nines. It also begins with a 9, but it is not a file control record.

ACH transaction codes

Columns 2–3 of an entry. The first digit is the kind of account, the second says whether the entry is a credit or a debit and whether money moves.

AccountCreditCredit prenoteZero-dollar creditDebitDebit prenoteZero-dollar debitReturn or NOC
Checking (demand)22232427282921 credit, 26 debit
Savings32333437383931 credit, 36 debit
General ledger42434447*48*49*41 credit, 46* debit
Loan52535455 (reversals only)——51 credit, 56 debit

A prenote is a zero-amount test entry that checks the routing and account number before live entries are sent. A zero-dollar entry carries remittance data with no money and is allowed only in CCD and CTX batches. Both must have an amount of zero. * The published lists disagree about the general-ledger debit codes: one bank's list gives 45 return, 46 debit, 47 prenote and 48 zero-dollar, while another bank and a payments vendor put the prenote at 48 and the zero-dollar entry at 49, making 47 the debit. The table follows the second reading; the validator warns when it meets codes 45 to 49. Confirm them with your bank.

Common Standard Entry Class (SEC) codes

Columns 51–53 of the batch header. The class says how the payment was authorised and decides the layout of the entries.

CodeNameUsed forAddenda per entryChecked here
PPDPrearranged Payment and DepositCredits or debits to a consumer account: payroll, pensions, recurring bills0 or 1Field by field
CCDCorporate Credit or DebitCredits or debits to a business account. "CCD+" is a CCD entry with an addenda record0 or 1Field by field
CTXCorporate Trade ExchangeBusiness payments carrying full remittance detailUp to 9,999Field by field
WEBInternet-Initiated/Mobile EntryDebits authorised online or by mobile; person-to-person credits0 or 1Field by field
TELTelephone-Initiated EntryDebits authorised by telephoneNoneField by field
IATInternational ACH TransactionEntries involving a financial agency outside the United States7 mandatory, more optionalParsed; totals checked; other findings are warnings
ARCAccounts Receivable EntryA mailed or delivered check converted to a debit—Shared positions and totals only
BOCBack Office ConversionA check taken at the point of purchase, converted later—Shared positions and totals only
POPPoint-of-Purchase EntryA check converted to a debit at the till—Shared positions and totals only
RCKRe-presented Check EntryA check returned unpaid, presented again as a debit—Shared positions and totals only
CIECustomer-Initiated EntryA credit a consumer sends through a bill-payment service—Shared positions and totals only
POSPoint-of-Sale EntryA debit at a terminal using a merchant-issued card—Shared positions and totals only

A bank enables each class for you separately, and often credits and debits separately within it. A file in a class you are not set up for is rejected however well formed it is.

How the entry hash is worked out

The entry hash is a checksum over the routing numbers in a batch. It has no meaning as a number; it exists so that a dropped, duplicated or altered entry changes it.

Entry Hash = (R₁ + R₂ + … + Rₙ) mod 10,000,000,000

Rᵢ
The Receiving DFI Identification of entry i: columns 4–11, the first eight digits of the routing number, read as a number. The check digit in column 12 is left out.
mod 10,000,000,000
Keep the rightmost ten digits of the sum. A shorter sum is zero-filled on the left to ten digits.

Worked example

Five entries, routing numbers
012345672 · 098765438 · 111111118 · 123123123 · 101010135
Drop each check digit
01234567 · 09876543 · 11111111 · 12312312 · 10101013
Add them
1,234,567 + 9,876,543 + 11,111,111 + 12,312,312 + 10,101,013 = 44,635,546
Zero-fill to ten digits
0044635546

Batch control columns 11–20 hold 0044635546. This is the "Clean PPD payroll" sample above.

When the sum overflows, the left is cut off: 120 entries to routing number 98765432x add up to 11,851,851,840, and the field holds 1851851840. The file control record holds the sum of the batch hashes, cut the same way — which equals the sum over every entry in the file. The State of New Jersey's layout gives its own example: five entries to 05300021 give 0026500105.

How the block count is worked out

Records are grouped in blocks of ten — the blocking factor in columns 38–39 of the file header. The block count in the file control record says how many blocks the file occupies.

Block Count = ⌈ records ÷ 10 ⌉

records
Every record in the file: file header, batch headers, entries, addenda, batch controls, the file control record and any padding records.
⌈ ⌉
Round up. A part block counts as a whole one.

Worked example

File header
1
One batch: header, 5 entries, control
7
File control
1
Records before padding
9
Padding records of nines to reach a multiple of ten
1
Records ÷ 10
10 ÷ 10 = 1

Block Count = 000001. A file of 12 records has a block count of 2 and needs 8 padding records; one of 23 has a block count of 3 and needs 7.

A file whose record count is already a multiple of ten gets no padding. Whether padding is required at all is the one point on which the published sources differ; see the FAQ.

How the routing number check digit is worked out

An ABA routing number is nine digits: a four-digit Federal Reserve routing symbol, a four-digit ABA institution identifier and one check digit. The check digit is chosen so that a weighted sum of all nine digits is a multiple of ten.

3(d₁ + d₄ + d₇) + 7(d₂ + d₅ + d₈) + (d₃ + d₆ + d₉) ≡ 0 (mod 10)

d₁ … d₉
The nine digits, left to right. d₉ is the check digit.
3, 7, 1
The weights, repeating across the number: 3 7 1 3 7 1 3 7 1.

Worked example

Routing number
1 2 3 4 5 6 7 8 0
Weights
3 7 1 3 7 1 3 7 1
Products
3 + 14 + 3 + 12 + 35 + 6 + 21 + 56 + 0
Sum
150

150 is a multiple of 10, so 123456780 passes. To find a missing check digit, sum the first eight products and take what is needed to reach the next multiple of ten: for 01234567 the sum is 118, so the check digit is 2.

The rule catches any single wrong digit and most swapped neighbours. It does not show that a bank holds the number. In an entry detail record the first eight digits sit in columns 4–11 and the check digit in column 12.

What the first two digits of a routing number indicate

The first two digits of the Federal Reserve routing symbol place the number in a series.

First two digitsSeries
00United States Government and its agencies
01–12Banks and other institutions. The number is the Federal Reserve district: 01 Boston, 02 New York, 03 Philadelphia, 04 Cleveland, 05 Richmond, 06 Atlanta, 07 Chicago, 08 St. Louis, 09 Minneapolis, 10 Kansas City, 11 Dallas, 12 San Francisco
21–32Thrift institutions: the district number plus 20. No new numbers have been assigned in this series since 1985
61–72Electronic Transaction Identifiers, for organisations that process payments for banks without being banks
80Traveler's checks
50–59Reserved for internal process control by banks and Federal Reserve Banks
Everything elseReserved for future use; no bank's number begins this way

Because banks merge and move, the district in a routing number no longer has to match where the bank does business.

ACH file rejection messages: cause and fix

Upload screens word these differently, but the same dozen faults lie behind nearly all of them.

Line is not properly formatted / record length is not 94 / line is only N characters long

Cause: A record is shorter or longer than 94 characters. The usual culprit is software that strips trailing spaces: an editor set to trim whitespace, an email client, a copy and paste from a web page. The file header and file control records end in blanks, so they are the first to be cut. A longer line usually means a stray tab or a carriage return counted as a character.

Fix: Regenerate the file from the system that produced it instead of editing it by hand. If you must edit, use an editor that shows column numbers and does not trim trailing whitespace, and send the file as an attachment, never in the body of a message.

Hash total difference / entry hash does not match

Cause: The entry hash in a batch control or file control record is not the sum of the routing numbers above it. Either an entry was added, removed or had its routing number changed after the control records were written, or the hash was summed over all nine digits instead of the first eight, or it was not cut to ten digits.

Fix: Recalculate: add columns 4–11 of every type 6 record in the batch, keep the rightmost ten digits, zero-fill on the left. Then recalculate the file control hash from the batch hashes.

Record count in the batch control record does not match the entry and addenda records

Cause: The Entry/Addenda Count counts type 6 and type 7 records. Counting only entries, or including the batch header and control, gives the wrong figure. A missing or duplicated line gives the same error.

Fix: Count the type 6 and type 7 records between the batch header and the batch control, and write that in columns 5–10 of the type 8 record. Do the same for the whole file in columns 14–21 of the type 9 record.

Debit or credit amount in the control record is invalid / totals do not balance

Cause: An amount was changed or an entry removed without the totals being updated, or debits and credits were added into the same total. Transaction codes ending in 2, 3 or 4 are credits; those ending in 7, 8 or 9 are debits.

Fix: Sum the Amount (columns 30–39) of the debit entries and of the credit entries separately, in cents. Write them in columns 21–32 and 33–44 of the batch control record, and the file-wide sums in columns 32–43 and 44–55 of the file control record.

Invalid file structure: batch control record not found before the file control record

Cause: A batch was opened with a type 5 record and never closed with a type 8, or a second type 5 appears before the first batch was closed. Often the last lines of the file were lost in transfer.

Fix: Every batch needs its own type 8 record directly after its last entry or addenda record. Check that the file was not truncated: it should end with one type 9 record, followed only by padding.

Service class code does not match the content of the batch

Cause: The batch header says 220 (credits only) and the batch contains a debit, or says 225 (debits only) and contains a credit. This happens when a debit batch is built by copying a credit batch.

Fix: Use 200 for a batch that mixes debits and credits, or split the batch. Put the same code in the batch header and the batch control record. Some banks accept only 220 and 225.

Invalid ABA / invalid routing number / entry will be returned due to invalid DFI

Cause: A receiving routing number fails its check digit: one of the nine digits is wrong, or two were swapped.

Fix: Get the routing number again from the receiver, from a check or from the bank. Do not "fix" the ninth digit to make the arithmetic work — the error may be in any of the nine.

Amount is not formatted numerically

Cause: The Amount holds something other than ten digits: a decimal point, a comma, a minus sign, or spaces where zeros should be.

Fix: Write the amount in cents, right-justified and zero-filled: $1,250.50 is 0000125050. The field has no decimal point and no sign; the transaction code says whether it is a debit or a credit.

Addenda indicator is 1 but no addenda record follows (or the reverse)

Cause: Column 79 of the entry says an addenda record follows and the next record is not a type 7, or it says none follows and one does.

Fix: Set column 79 to 1 only on entries that are followed directly by a type 7 record, and make sure that record's columns 88–94 repeat the last seven digits of the entry's trace number.

Date is invalid / the date format should be YYMMDD

Cause: A date is not six digits in year-month-day order, or is not a real date. Dates written MMDDYY, or with a four-digit year, shift everything after them.

Fix: Write 1 December 2026 as 261201. The File Creation Date is in columns 24–29 of the file header, the Effective Entry Date in columns 70–75 of each batch header.

Effective entry date is a non-business day, or is before the next available payment date

Cause: The format is right but the date falls on a weekend or bank holiday, or is too soon for the bank's processing schedule. This is a bank rule, not a format rule.

Fix: Choose a banking day far enough ahead for your bank's cut-off. Ask the bank how many days in advance it needs credits and debits.

Unsupported SEC code / not permitted to create this batch

Cause: Either columns 51–53 of the batch header do not hold a real Standard Entry Class code, or they hold one your bank has not enabled for your company.

Fix: Check the code is upper case and correctly placed. If it is, ask your bank which classes you may originate, and whether for credits, debits or both.

Zero amount but not marked as a prenote

Cause: An entry has an amount of zero with a live transaction code such as 22 or 27.

Fix: If it is meant as a test of the account, use the prenote code — 23, 28, 33 or 38. If it is meant to carry money, correct the amount.

Duplicate file detected

Cause: The bank has already received a file with exactly the same contents. This is not a format fault and this tool cannot see it.

Fix: If it is a resend, confirm with the bank that the first was not processed before sending again. If it is a second, different file created on the same day, it should carry the next File ID Modifier (B after A) in column 34 of the file header.

What the checks cover

  • Record length —Every record is 94 characters. Line endings may be LF, CRLF or CR, the final newline may be missing, and a file with no line breaks at all is cut every 94 characters. Lines of the wrong length are reported with their real length and the check carries on.
  • Structure —One file header, first; one file control record, last apart from padding; every batch closed; entries and addenda inside a batch; addenda directly after their entry; nothing after the padding.
  • Addenda —The addenda indicator agrees with what follows the entry; PPD, CCD and WEB entries carry at most one addenda record and TEL none; sequence numbers count from 0001; each addenda record points back at its entry; a CTX entry's addenda count is right.
  • Arithmetic —Entry/addenda count, entry hash, total debits and total credits in every batch control record and in the file control record; the batch count; the block count; padding to a multiple of ten. Money is added in whole cents. Each mismatch shows the stated figure and the calculated one.
  • Agreement —Each batch control record repeats its header's service class, company identification, originating DFI and batch number; the service class fits the entries; trace numbers ascend and begin with the batch's originating DFI.
  • Fields —Routing number check digits; transaction codes, and a zero amount on prenotes and zero-dollar entries; service class and entry class codes; real dates; the fixed values of the file header; numeric fields that are zero-filled digits; alphanumeric fields that are left-justified; required fields that are filled; characters outside printable ASCII.

Sources

All read on 23 November 2026. A check is an error only where these layouts agree.

About

The ACH File Validator reads a US ACH file in the NACHA format — fixed-width text, 94 characters to a record — and takes it apart: the file header, each batch with its header and control record, every entry and addenda record, and the file control record. It then checks the things a bank's upload screen rejects with a one-line message and no location. Is every record exactly 94 characters? Are the records in order, with every batch closed? Do the entry and addenda counts, the entry hash and the debit and credit totals in each control record agree with the entries above them? Is the block count right, and is the file padded? Does every routing number pass its check digit? Are numeric fields zero-filled, dates real dates, transaction codes ones that exist? Each problem is reported with its line, its column range and, for arithmetic, the figure the file states beside the figure the records add up to. The file is read in your browser and never uploaded, and account numbers are masked to their last four characters in anything you copy or download unless you choose to show them. A separate panel checks a single ABA routing number. The checks follow the file format as Nacha and several banks publish it; they are not the full Nacha rulebook, and they know nothing of the extra requirements your own bank sets.

How to use

  1. 1 Paste the file into "ACH file", or use "Open file" to read one from your device. The page opens on a sample with deliberate mistakes so you can see a full report first; "Clean PPD payroll" shows a file that passes.
  2. 2 Read "Result" first: one line saying whether the format is valid, then who originates the file, how many batches and entries it holds, the total debits and credits and the effective entry dates.
  3. 3 Work through "Checks". Errors come first, each naming its line and columns. "Show line" opens that record in the viewer below with the field marked.
  4. 4 In "Records", open a batch and select any record to see every field with its name, its columns and its value. Tick "Only records with findings" to hide the rest of a large file.
  5. 5 Use "Copy report" or "Download JSON" to pass the findings on. Account numbers are masked to the last four characters unless you tick "Show full account numbers".
  6. 6 To test one routing number, type it into "Check a routing number". It shows the arithmetic behind the check digit and what the first two digits indicate.
Is my ACH file uploaded anywhere?
No. The file is read and checked by JavaScript in your browser; the page makes no request that carries it, and it works offline once loaded. That matters because an ACH file holds names, bank account numbers and sometimes tax or employee identifiers. Account numbers are also masked to their last four characters on screen and in copied or downloaded output by default. Names and identification numbers are not masked, so treat a copied report as you would the file.
What exactly does it check?
Four groups of things. Shape: every record is 94 characters, whatever the line endings. Structure: one file header first, one file control last, every batch opened by a type 5 record and closed by a type 8, addenda directly after the entry they belong to, trace numbers ascending. Arithmetic: the entry/addenda count, entry hash and debit and credit totals of every batch and of the file, and the block count. Fields: routing number check digits, transaction codes, service class codes, dates, and whether numeric fields are zero-filled digits and required fields are filled.
It says my file is valid. Why did my bank still reject it?
Because a bank checks more than the format. Common reasons that no format checker can see: the Immediate Destination or Originating DFI is not the bank's own routing number, the company identification is not one the bank has on file for you, you are not enabled for that Standard Entry Class or for debits, the effective entry date is a holiday or past the cut-off, the file duplicates one already sent, or it exceeds an exposure limit. Your bank's own file specification is the authority for those.
How is the entry hash calculated?
Add up the eight-digit Receiving DFI Identification — columns 4 to 11, the routing number without its check digit — of every entry detail record in the batch. If the sum is longer than ten digits keep the rightmost ten; if shorter, zero-fill on the left. The file control record carries the same sum over every entry in the file. The section "How the entry hash is worked out" below has an example.
Does an ACH file have to be padded with lines of 9s?
The published sources disagree, which is why this tool gives a missing pad a warning and not an error. Nacha's developer guide and the State of New Jersey's layout say a file is padded with records of 94 nines until the record count is a multiple of ten. East West Bank's specification says filler records are permitted and not required. The block count in the file control record must be right either way. Padding is harmless where it is optional, so adding it is the safe choice.
Which entry classes does it cover?
PPD, CCD, CTX, WEB and TEL entries are parsed and checked field by field; each of those layouts appears in at least two of the published sources. IAT is parsed into named fields, including its seven mandatory addenda records, and its counts, hash and totals are checked, but its layout comes from a single Nacha document, so IAT-specific problems are reported as warnings. Other classes — ARC, BOC, CIE, POP, POS, RCK and the rest — are shown by the positions every documented layout shares, with their counts and totals checked and columns 40 to 78 left alone.
Does a valid routing number mean the bank exists?
No. The check digit only shows that the nine digits are consistent with each other, which catches a mistyped digit and most swapped pairs. It says nothing about whether the number is assigned to a bank or whether that bank accepts ACH entries. For that you need the Federal Reserve's E-Payments Routing Directory or your bank.

Also callable by your AI agent

This tool is available over the free CodeLint MCP server and REST API as ach_file_validate and aba_routing_check — no API key. Unlike this page, an API call is processed on our server.

curl -s https://codelint.dev/api/v1/tools/ach_file_validate \
  -H 'content-type: application/json' \
  -d '{"file":"101 12345678019876543212611270930A094101FIRST EXAMPLE BANK     TIDEWATER KAYAKS LLC           \n5220TIDEWATER KAYAKS                    1987654321PPDPAYROLL         261201   1123456780000001\n6220123456724400123456       0000184250EMP0001        MARISOL QUINTERO        0123456780000001\n62209876543877001234         0000212075EMP0002        DEVON ACHTERBERG        0123456780000002\n632111111118000987654321     0000050000EMP0002        DEVON ACHTERBERG        0123456780000003\n6221231231235550001111       0000163310EMP0003        PRIYA RAMASWAMY         0123456780000004\n6221010101351234500099       0000198840EMP0004        TOBIAS LINDQVIST        0123456780000005\n822000000500446355460000000000000000008084751987654321                         123456780000001\n9000001000001000000050044635546000000000000000000808475                                       \n9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999\n"}'

More in FinTech Tools

See all fintech tools.