Publication 28 C1/C2 · OCR uppercase · 40-char width check

USPS Address Standardizer & Pub 28 Formatter

Convert informal US street lines into machine-readable uppercase USPS Publication 28 blocks. Automatically abbreviates street suffixes (BLVD, PKWY, TER), compass directionals (N, SW), secondary unit designators (APT, STE, FL), and full state names while stripping OCR-hostile punctuation.

  • Free
  • No signup
  • Runs locally
1-Click Samples:
Applies USPS Publication 28 Appendix C1 suffixes, C2 secondary units, directionals, and OCR uppercase formatting.

USPS Publication 28 Standardized Output

USPS Preferred 2-Line OCR Mailpiece Block

742 N EVERGREEN TER APT 4B
SPRINGFIELD IL 62704

Split 3-Line Checkout / ERP Block

742 N EVERGREEN TER
APT 4B
SPRINGFIELD IL 62704
Primary Street (Line 1)
742 N EVERGREEN TER
Secondary Unit (C2)
APT 4B
City
SPRINGFIELD
2-Letter State
IL
ZIP / ZIP+4
62704
40-Char OCR Width
Pass (26/40 chars)

Transformations Applied (5)

punctuation:Periods / commas→Removed per USPS OCR guidelinesunit:Apartment #4B→APT 4Bdirectional:North→Nsuffix:Terrace→TERstate:ILLINOIS→IL

Developer API · Predictable Pricing

Need server-side US ZIP & county lookups inside your app?

Query 40,979 US ZIP codes over JSON for city, state, county, and coordinates—$9/month for 1,000 requests with a hard quota cap and zero surprise overages.

More address tools

Appendix C1 & C2 tables

Maps over 150 spelled-out suffixes (Boulevard, Parkway, Expressway, Crossing) and unit designators (Apartment, Suite, Penthouse, Building) to official tokens.

OCR punctuation cleanup

Removes periods and commas while preserving hyphens inside fractional house numbers and 9-digit ZIP+4 codes.

Audit trail & fixture export

Shows every directional, suffix, unit, and state substitution applied, with 1-click CSV, JSON, TypeScript, Playwright, and SQL exports.

USPS Address Standardizer & Pub 28 Formatter questions

What is USPS Publication 28 formatting?+
Publication 28 is the official US Postal Service Postal Addressing Standards specification. It defines uppercase, punctuation-free delivery lines using Appendix C1 street suffix abbreviations (such as AVE, BLVD, ST, PKWY) and Appendix C2 secondary unit designators (such as APT, STE, BLDG, FL).
When should the pound sign (#) be removed or kept?+
Under USPS Publication 28 Appendix C2, when an approved unit designator like APT or STE is present, do not include a pound sign (#)—write APT 4B instead of APT #4B. Only use # followed by a space (# 4B) when the unit type is unknown.
Why does USPS prefer 40 characters or fewer per line?+
Automated Optical Character Recognition (OCR) mail sorters read uppercase lines fastest when each line fits within 40 characters and has no periods or commas. If a street plus apartment exceeds 40 characters, place the secondary unit on a separate line.
Does standardizing an address verify physical deliverability?+
No. Formatting normalizes tokens and abbreviations in your browser; it does not query USPS DPV or CASS databases to confirm that a physical mailbox exists.