Products · UB-04 OCR Software

UB-04 OCR software for CMS-1450 line item extraction

Hewto.ai automates CMS-1450 paper claim conversion — line item extraction, revenue-code capture, and charge description extraction — turning complex UB-04 institutional forms into clean, validated, 837I-ready data. End-to-end paper claim conversion for hospitals, payers, and clearinghouses.

handwritten UB-04 claim formEDI 837I output, ready to export
See it in action

Watch Hewto.ai Process a UB-04 in Real Time

From a messy institutional claim to clean, validated, 837I-ready data — revenue codes, line items, and charges read, checked, and mapped live.

Try it now

Upload a Claim. See It as 837I.

Drop in a scanned UB-04 and watch Hewto.ai read every field — results open in a live demo, no sign-up needed.

Try with our sample file

Download sample UB-04 file

Upload your own UB-04

Drag a claim here or choose a file

PDF (up to 10 pages), JPG, PNG, or TIFF, up to 20 MB

Prefer a guided walkthrough? Book a demo

HIPAA CompliantYour data is encrypted and handled securely.
See it in action

Drag to See What We Pull Out

The same UB-04 form, before and after. Move the slider to reveal the fields Hewto.ai found.

Plain scan of a UB-04 claim form
Same UB-04 form with the detected fields highlighted
ScannedExtracted

Paper claims in. 837I out.

Hewto.ai reads scanned, faxed, and handwritten UB-04 forms, checks every field, and delivers a clean 837I file. Follow one claim through the pipeline.

Use a sample or de-identified claim.

Every UB-04 that reaches your fax line, mailroom, or SFTP drop lands in one queue, whatever its quality.

  • Fax, PDF, photo, and API upload
  • Red drop-out ink forms handled natively
  • Auto-sorted by form type

A vision-language model reads the whole form, not one character at a time, including the 22 service lines in the revenue code table.

  • Type of bill, dates, and status codes
  • Handwriting, signatures, and stamps
  • Watermarks ignored, only real values picked

Line item extraction splits revenue codes, HCPCS, units, and charges across every service line, even when claims span multiple pages.

  • Charge descriptions paired with each revenue code and amount
  • Condition, occurrence, value, and span codes
  • Multi-page claims read as one

Each field is checked and scored before data leaves the pipeline. Doubtful fields go to a person, not to the payer.

  • NPI, ICD-10, revenue code, and HCPCS checks
  • Type of bill and payer edits applied
  • Per-field confidence with human review

Each field maps to its X12 loop and segment, so a scanned UB-04 becomes a submittable 837I with no re-keying.

  • Service lines to Loop 2400 SV2
  • Diagnoses to Loop 2300 HI
  • Billing provider to Loop 2010AA

Outputs clean, validated data mapped for institutional EDI, ready for your clearinghouse or adjudication engine, with confidence scores attached.

  • 837I-ready delivery
  • REST API, webhook, and SFTP
  • Hosted, private cloud, or on-premise

Teach the model your facility’s UB-04 variants, payer templates, or new document types from a handful of labeled samples. No ML team needed.

  • Upload 20 to 200 labeled examples
  • One click starts the fine-tuning run
  • Your model goes live behind the same API

Built for UB-04 forms that aren’t clean

Hewto.ai extracts data from all kinds of forms: handwritten, blurred, bled through, or overflowing. Every field gets a reliable confidence score, and low-confidence fields are flagged for human review.

UB-04
Covers all fields & checkboxes:FL 42–47 revenue codes, HCPCS, units & chargesFL 18–28 condition codesFL 31–34 occurrence codes & datesFL 39–41 value codes & amountsFL 50–65 payer, insured & authorization detailFL 66–81 diagnosis, procedure & provider codes
Watermark

Watermark not picked,
only the real value

Hewto.ai separates watermark text from real value text, so background print never leaks into your data.

On the form
D509 with watermark on the form
Hewto.ai reads
Extracted D509 value
Stamping

Stamped numbers,
told apart from real data

Received dates, batch numbers, and office stamps are printed like any other data, but they aren’t claim data. Hewto.ai tells them apart from field values, so they never end up in your output.

On the form
Stamped address on the form
Hewto.ai reads
Extracted address value
Blurred print

Blurred print,
still captured

Works even on blurred and low quality prints.

On the form
Blurred birthdate on the form
Hewto.ai reads
Extracted birthdate value
Overflowing text

Text overflowing its box,
still captured in full

When text spills past the edge of its field, Hewto.ai still captures the whole value.

On the form
SCOTTSDALE overflowing its field on the form
Hewto.ai reads
Extracted SCOTTSDALE value
Handwriting

Handwriting,
well understood

Reads handwriting, even the most cursive.

On the form
Handwritten Room & Board on the form
Hewto.ai reads
Extracted Room & Board value
Less TypingHigher AccuracyFewer DenialsFaster Claims

Inside our UB-04 extraction engine

Every scan is straightened and aligned, every field is scored, and anything doubtful goes to a person, not the payer.

Automatic Deskew

Tilted scans are straightened before extraction begins.

Automatic Correction of Offset

Forms that are shifted or off-center are realigned to the template.

Flagging of Low Confidence Fields

Every field gets a confidence score. Uncertain ones are flagged for a person to review.

Seamless Referencing With Hover

Hover over any extracted value to see exactly where it came from on the original form.

Layout Adjuster

If automatic offset correction fails, adjust the layout by hand and run it again.

Fine Tune Models

Tune the models on your own forms so extraction keeps getting better for the documents you actually receive.

Agentic Document Extraction

Why Hewto.ai outperforms traditional UB-04 OCR

We don't use character-by-character OCR. Hewto.ai runs an agentic document extraction pipeline built on vision-language models fine-tuned specifically for the UB-04 / CMS-1450 institutional claim form. The model reads the claim the way a trained hospital biller does — looking at the whole form, its 81 form locators, and every visual cue — so it captures details a traditional OCR engine silently misses.

Vision-first, not character-first

A VLM sees the UB-04 as a whole — 81 boxes, revenue-code grids, occurrence and condition codes, signatures, stamps, and long value-code stacks — instead of stitching guesses letter by letter. It reads checkbox crosses and ticks the way a human eye does, and tells watermark text apart from value text, label text from value text, and background from foreground. Visual context stays intact.

Fine-tuned on UB-04 / CMS-1450

Our models are fine-tuned on real UB-04 institutional claims across payers, scan qualities, and facility layouts. They know FL 42 is a revenue-code line — not just a grid of characters — so extractions map cleanly to fields, not raw text.

Agentic reasoning, per field

Each field runs through a purpose-built agent that verifies context, cross-checks related form locators, and self-corrects when something looks off — the kind of judgment a deterministic OCR pipeline simply can't make.

Traditional OCR misses
  • Revenue-code lines misaligned across FL 42 / 43 / 44 / 47
  • Occurrence codes, value codes, and condition codes stacked in FL 18–41
  • Checkbox / tick selections for admission type and priority
  • Watermarks and background print bleeding into extracted values
  • Label text confused with the value text it describes
  • Handwritten patient signatures and dates of service
  • Long HCPCS/CPT tables with modifiers on institutional lines
  • Facility stamps, initials, and hand-corrections
Hewto.ai captures
  • Every revenue-code line correctly aligned with charges and units
  • Occurrence, value, and condition codes parsed into their FL slots
  • All checkboxes and ticks — including partially marked ones
  • Crosses, ticks, and checkmarks read the way a human eye reads them
  • Watermark text separated from real value text — background noise ignored
  • Label text distinguished from the value text it describes
  • Handwriting in any box, including signatures and hand-written dates
  • HCPCS/CPT + modifier stacks preserved per service line
  • Stamps, initials, and hand-corrections preserved with confidence scores
One-click VLM fine-tuning

Fine-tune a vision-language model at the click of a button

Hewto.ai provides vision-language model fine-tuning at the click of a button. Upload a handful of labeled samples of UB-04 / CMS-1450 forms — or any new form variant, payer template, or document type you handle — and Hewto.ai fine-tunes a purpose-built VLM for it. No ML team, no training pipelines, no infrastructure to manage.

  • Upload samples, click fine-tune, ship
  • No ML engineers or training pipelines required
  • Custom accuracy on your document mix
  • Ready to run in minutes, not weeks

See how a handful of samples turns into production-ready accuracy

Review Your Document Mix With Us
Fine-tune workflow
  1. 01Upload labeled samplesDrop in 20–200 examples of your target form.
  2. 02Click Fine-tuneHewto.ai kicks off a fine-tuning run — no config, no code.
  3. 03Ship the modelYour custom VLM goes live behind the same API endpoint.
UB-04 / CMS-1450 institutional claim form
UB-04 · extracted
Rev code0450
HCPCS99284
Value (A2)$1,240.00
99.1% confidence
Form coverage

Every form locator, captured

From revenue codes and charge descriptions to value and occurrence spans, Hewto.ai's UB-04 OCR software captures every form locator — powering accurate CMS-1450 line item extraction and complete charge description extraction on every institutional claim.

FL 42–47: revenue codes, HCPCS, units & charges
FL 18–28: condition codes
FL 31–34: occurrence codes & dates
FL 39–41: value codes & amounts
FL 50–65: payer, insured & authorization detail
FL 66–81: diagnosis, procedure & provider codes
UB-04 OCR software FAQ

CMS-1450 line item & charge description extraction

Common questions about CMS-1450 OCR data capture, line item extraction, and charge description extraction with Hewto.ai's UB-04 OCR software.

CMS-1450 line item extraction is the automated capture of each service line on a UB-04 / CMS-1450 claim — revenue code, HCPCS/CPT, units, and charge amount. Hewto.ai extracts every line item, including claims that span multiple pages, and returns structured, validated data.

Our CMS-1450 OCR data capture reads UB-04 forms from scans, faxes, and PDFs using layout-aware AI, maps each form locator (FL) to a structured field with confidence scoring, validates the values, and delivers 837I-ready output via API, webhook, or SFTP.

Yes. CMS-1450 charge description extraction pairs each revenue code (FL 42) with its charge description (FL 43), units (FL 46), and total charges (FL 47), so you get complete, itemized line-level detail for every institutional claim.

Hewto.ai is intelligent UB-04 OCR software purpose-built for US healthcare. It automates institutional claim intake end-to-end — OCR data capture, line item extraction, charge description extraction, validation, and EDI delivery — for payers, providers, clearinghouses, and RCM teams.

Ready to see Hewto.ai on your documents?

Book a personalized demo and watch us process your HCFA, UB-04, and dental claims live.