What you're using right now
- 100+ barcode & QR symbologies
- Live preview & customization
- PNG & SVG export, no login
- Copy to clipboard
Loading Barcode Mintβ¦
Free Online Barcode & QR Code Generator
Turn a UK postcode and delivery point suffix into an RM4SCC code with the royal mail 4-state generator in Barcode Mint, ready for Cleanmail and Mailsort.
Open the generator βTurn a CSV β or a numbered sequence β into hundreds of barcodes at once, exported as a ZIP of images or a print-ready PDF sheet. Launching with Pro.
The browser generator stays free forever. Paid plans are for teams who need bulk output and developers who need the REST API at scale β commercial license included. Tell us what you'd use; early-list members get first access and launch pricing.
What you're using right now
For designers & teams
Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.
The Royal Mail 4-State barcode, officially the RM4SCC (Royal Mail 4-State Customer Code), is the postal symbology Royal Mail introduced in the 1990s so its sorting machines could read UK addresses automatically instead of relying on optical character recognition alone. Any royal mail 4-state generator works from the same underlying idea: each bar in the code can sit in one of four vertical positions, so a comparatively short strip of marks can carry a full postcode plus a delivery point suffix.
You'll recognize it as the row of short, uneven bars printed along the bottom-right of UK letters and franked mail β usually just above or beside the address block. It predates newer Royal Mail formats and remains the standard barcode for Cleanmail, Mailsort, and other bulk mail discount schemes that require machine-readable addressing.
RM4SCC represents each character as a pair of bars, and each bar can appear as a full bar, an ascender (top half only), a descender (bottom half only), or a tracker (short middle segment only) β hence "4-state." A start bar and stop bar frame the message, and the final character is a checksum calculated from the preceding characters, letting sorting equipment detect a misread or damaged barcode before it causes a misroute.
The encoded string is almost always the outward UK postcode combined with the delivery point suffix (DPS) β a two-character suffix Royal Mail assigns to a specific address within that postcode. Together, postcode plus DPS pinpoints an individual delivery point precisely enough for fully automated sortation, without the barcode needing to spell out the address itself.
RM4SCC encodes the 36 characters AβZ and 0β9, which covers the letters and digits used in UK postcodes and DPS codes. Each character maps to a fixed two-bar pattern from the four-state alphabet, framed by a dedicated start and stop character and closed with a single check character computed by weighting the bar values. There's no theoretical length limit enforced by the symbology itself, but in practice input is a UK postcode (up to 7 characters) plus a 2-character DPS, giving a compact, predictable barcode length.
Because it's a height-modulated code rather than a width-modulated one like Code 128, print quality depends more on vertical alignment and bar height consistency than on narrow-bar tolerances.
RM4SCC is specific to UK mail handling and Royal Mail's bulk-mail discount programs:
Select Royal Mail 4-State from the Postal Code group in the symbology list. Type the UK postcode followed by the delivery point suffix β the live preview updates as you type so you can check the bar pattern before exporting. From there:
/barcode?type=royalmail&data=YOURPOSTCODEDPS β to generate RM4SCC images on demand from a mail-merge or fulfillment system.Since RM4SCC is a 4-state, height-modulated code feeding high-speed sorting equipment, print precision matters more than with a simple linear barcode:
RM4SCC is the older, simpler of Royal Mail's two 4-state formats. Royal Mail Mailmark 4-State is the newer standard, designed to carry a mail class identifier and additional tracking data alongside routing information, and is gradually complementing RM4SCC for mailers who need item-level tracking. Australia Post's 4-State Customer Barcode and Japan Post's barcode use the same four-state bar-height concept but with country-specific data structures β none are interchangeable with RM4SCC, so always generate the format your national postal service actually requires. If you only need basic UK postcode-based sortation without tracking, RM4SCC remains the simpler, more universally supported choice.
RM4SCC (Royal Mail 4-State Customer Code) is the official name of the barcode symbology used by Royal Mail for postcode-based automated mail sortation in the UK.
Yes. Upload a CSV of postcodes and delivery point suffixes to Barcode Mint's bulk tool to produce a ZIP of barcode images or a single print-ready PDF, one per row.