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
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 ↓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.
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.
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.
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.
DAFT notation shows up primarily in technical and development contexts rather than on finished mail pieces:
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:
/barcode?type=daft&data=YOURDAFTSTRING — to generate DAFT bar patterns programmatically from a test harness or documentation pipeline.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 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.
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.
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.