Skip to content
StylQR home

Royal Mail Mailmark Barcode Generator

Create Royal Mail Mailmark 2D barcodes from your Mailmark data string. StylQR encodes it as a Mailmark Data Matrix symbol with Reed–Solomon error correction, ready to place on letters and large letters.

  • Free & unlimited
  • Validated live
  • Print-ready SVG, PDF & PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

Mailmark data string.

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

What is Royal Mail Mailmark?

Mailmark is Royal Mail’s barcode system for business mail. Each item carries a unique identity that is scanned through the network, giving mailers tracking data and qualifying the mailing for Mailmark prices. The 2D Mailmark is a Data Matrix ECC 200 symbol with a fixed data layout.

The first 45 characters are fixed fields: the UPU country ID “JGB ”, information type, version, class, the 7-digit Supply Chain ID, an 8-digit item ID, the destination postcode and Delivery Point Suffix, a return-to-sender flag and postcode, and reserved space. Optional customer content, such as a web address, can follow.

Royal Mail defines three sizes: type 7 (24 × 24 modules), type 9 (32 × 32) and type 29 (16 × 48, a rectangle that fits narrow spaces). The default here is type 29; choose another in the advanced options. A 4-state linear Mailmark also exists for some items.

Specification

Royal Mail Mailmark at a glance

Type
2D matrix (Data Matrix ECC 200, Mailmark profile)
Characters
Defined Mailmark fields: digits, capital letters and spaces, plus optional customer text
Capacity
45 fixed characters + optional customer content (depends on symbol size)
Error correction
Reed–Solomon (Data Matrix ECC 200)
Symbol sizes
Type 7: 24 × 24, Type 9: 32 × 32, Type 29: 16 × 48 modules
Module size
About 0.5 mm (follow Royal Mail’s current Mailmark specification)
Quiet zone
Clear space of at least 1 module on all sides; Royal Mail asks for more around the address block
Owner
Royal Mail

How to create a Royal Mail Mailmark barcode

Four steps from data to a print-ready file.

  1. 1

    Step 1

    Enter your Royal Mail Mailmark data. Mailmark data string.

  2. 2

    Step 2

    Check the live validation — check digits are added for you and any problem is explained in plain words.

  3. 3

    Step 3

    Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.

  4. 4

    Step 4

    Download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets — and test it with your scanner.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Where Royal Mail Mailmark is used

Real-world applications for this symbology.

  • Business letters

    Mailmark-priced letters and large letters, such as bills, statements and marketing mail.

  • Item-level tracking

    Every item has a unique ID, so mailers can see when it was processed in the Royal Mail network.

  • Return to sender

    Return details in the barcode help Royal Mail handle undeliverable items.

  • Mailing house workflows

    Generating sample symbols to check layouts and data before a production run.

Printing Royal Mail Mailmark that scans first time

Small details that make the difference between a code people ignore and one they scan.

  • You need a Supply Chain ID from Royal Mail and must be set up for Mailmark (including eManifest submission) to get Mailmark prices — StylQR only encodes the data you provide.

  • Keep every fixed field at its exact length, padding with spaces where a field is empty; the example shows the spacing.

  • Make each item ID unique within your mailing so Royal Mail can track every item separately.

  • Royal Mail may ask for sample items to be tested before your first mailing — follow its Mailmark specification for position, size and clear zones.

  • Download SVG or PDF so modules stay sharp; the browser test scanner does not read Mailmark, so check samples with a Data Matrix-capable scanner.

Royal Mail Mailmark questions, answered

Where do I get a Mailmark Supply Chain ID?

From Royal Mail, when you or your mailing house set up a Mailmark account. StylQR does not issue Supply Chain IDs or Mailmark licences.

Which Mailmark size should I use?

Type 29 (16 × 48) is a slim rectangle for tight spaces, while types 7 and 9 are square. Larger symbols hold more customer content.

Is Mailmark the same as a normal Data Matrix?

It is a Data Matrix ECC 200 symbol, but the data must follow Royal Mail’s fixed Mailmark layout, so any Data Matrix scanner can read it but only Royal Mail systems interpret it.

Does Mailmark replace the Royal Mail 4-State code?

Yes, for business mail discounts. Mailmark took over from the older Customer Bar Code (RM4SCC) used with Cleanmail and Mailsort.

Every other barcode type

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.