Batch Fixer — NatWest Bankline Validator

ERP / Payroll export → validate → propose fix → download corrected .txt  |  runs 100% locally in the browser, no macros, no data leaves this PC

1. Paste or open the batch file

Rules: Domestic T008 blank · Domestic T010 = 6-digit sort + 8-digit account · Domestic T022/T028 sort code + account required · Intl T042 must equal T013 (no “NA”) · Intl T007 = beneficiary bank country (from IBAN, else BIC) · Intl T028 required · T030–T033 max 35 chars · 84 commas per line.
Character sets (NatWest guide §2.3) – free-format fields T030–T034 and T037:
· Standard – 01 Domestic and 03 sterling (GBP) Inter Account Transfer: A–Z 0–9 . - / & and space. Lower case → UPPER CASE.
· Extended – 04 International and 03 currency (non-GBP) Inter Account Transfer: A–Z a–z 0–9 . - / ? : ( ) , + ' and space. Lower case kept; & is not in this set → “and”.
· Both: accents transliterated (é→e, ß→ss, Ø→O…), curly quotes → ', other characters → space. Commas are always replaced by a space because the comma is the field separator in the batch file. Always enforced on build.