Loading Barcode Mint…

Barcode Mint

Free Online Barcode & QR Code Generator

Postal Code

DAFT Generator

Build raw 4-state bar patterns with the daft generator in Barcode Mint, using the Descender/Ascender/Full/Tracker letters behind every 4-state postal code.

Open the generator ↓
Preview
100%

01

Symbology

Code 128
All 106 →
02

Data

03

Properties

Properties

2
100
18
10
04

Bulk & batch generate

🔒 Pro

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.

Launching soon

Pricing — join the early list

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.

For the generator

Free $0/forever

What you're using right now

  • 100+ barcode & QR symbologies
  • Live preview & customization
  • PNG & SVG export, no login
  • Copy to clipboard
Available now ✓

For developers — REST API

Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.

Small $19/mo$190/yr 500 req / mo
Large $499/mo$4,990/yr 50K req / mo
Enterprise Custom Contact us

Get early access + launch pricing

Which features would you actually use? (optional — it helps us decide what to build first)

No spam — one email when it launches. The free tool isn't going anywhere.

What Is DAFT?

DAFT isn't a postal authority's barcode standard the way RM4SCC or Australia Post's 4-State code are — it's a descriptive notation used to talk about and construct any 4-state postal barcode directly. The letters stand for the four vertical bar positions every 4-state postal symbology is built from: Descender (bottom half only), Ascender (top half only), Full (the complete bar, top to bottom), and Tracker (a short segment in the middle only).

A daft generator lets you type a string made up of those four letters and render the exact bar pattern that results, bar by bar, without needing the character-encoding tables that translate postcodes or customer data into DAFT sequences for a specific national postal format. It's the lowest-level way to see and control a 4-state barcode's appearance.

How DAFT Notation Works

Every real-world 4-state postal barcode — Royal Mail's RM4SCC, Royal Mail Mailmark 4-State, Australia Post's 4-State Customer Barcode, and Japan Post's barcode — ultimately reduces to a sequence of bars in one of these four states. Postal standards define lookup tables that convert each valid input character (a digit, a letter, a checksum value) into a fixed pair or group of DAFT letters. A DAFT generator skips that translation layer and lets you specify the bar states directly, one letter per bar position.

This makes DAFT notation useful as a building block: developers implementing a new 4-state barcode encoder, or engineers verifying that a particular bar sequence prints and scans correctly, can type the exact D/A/F/T string they want to test rather than reverse-engineering it from postcode data.

Technical Specifications

A DAFT-notation barcode accepts a string composed only of the characters D, A, F, and T (case-insensitive in most implementations), with each character corresponding to one printed bar in the resulting 4-state symbol. There's no checksum, start/stop pattern, or character-set validation applied at this level — DAFT is a direct bar-state description, not a data-carrying symbology with its own encoding rules. Bar height follows the same convention used across 4-state postal codes: a Full bar spans the entire vertical height, an Ascender occupies the top half, a Descender occupies the bottom half, and a Tracker is a short middle segment, all evenly spaced along the horizontal axis.

Because it has no built-in error detection, DAFT output is best treated as a visual and structural reference rather than a barcode meant for live postal sortation.

Where DAFT Is Used

DAFT notation shows up primarily in technical and development contexts rather than on finished mail pieces:

How to Create a DAFT Barcode in Barcode Mint

Select DAFT from the Postal Code group in the symbology list. Type a string of D, A, F, and T characters directly — each letter renders as one bar in the live preview, updating instantly as you type so you can see exactly how a given sequence looks before exporting. From there:

Printing and Scanning Best Practices

Since DAFT output mirrors the visual structure of real 4-state postal barcodes, the same print discipline applies when using it for calibration or testing:

DAFT vs Related Postal Codes

DAFT is not a competing standard to RM4SCC, Mailmark 4-State, Australia Post's 4-State Customer Barcode, or Japan Post's barcode — it's the shared notation underlying all of them. Where those symbologies define specific character sets, checksums, and start/stop markers on top of the four-state bar mechanic, DAFT strips that away and lets you specify bar states directly. Use a DAFT generator when you need to test, document, or visualize raw 4-state bar patterns; use the country-specific postal symbologies when you need a barcode that an actual postal service's sorting equipment will accept and route mail with.

Common uses

Frequently asked questions

What does a daft generator actually produce?
It renders a 4-state bar pattern directly from a string of D, A, F, and T letters, where each letter sets one bar to Descender, Ascender, Full, or Tracker height.
Is DAFT the same as a real postal barcode like RM4SCC?

No. DAFT is the notation used to describe bar states in any 4-state postal barcode, but it has no checksum or character-encoding rules of its own, so it isn't a production postal symbology by itself.

Who typically uses a DAFT generator?
Developers building or testing 4-state barcode encoders, print shops calibrating equipment, and anyone documenting or learning how 4-state postal barcodes are structured.
Can I bulk-generate DAFT patterns from a spreadsheet?

Yes. Upload a CSV of DAFT strings to Barcode Mint's bulk tool to produce a ZIP of images or a single PDF, one bar pattern per row.

Is this daft generator free to use?
Yes, Barcode Mint's DAFT generator runs entirely in your browser with no account required for standard PNG/SVG exports.
Can I generate DAFT patterns from my own application?
Yes — call /barcode?type=daft&data=YOURDAFTSTRING through the REST API to generate the bar pattern image directly from a test or documentation pipeline.

Related barcode types

Browse all 106 barcode & QR types →