Tool to decode/encode a postal code with a French LaPoste barcode. The french postal barcode is a code using bars and dots, used to digitally read postcodes when sorting mail with processing machines from the french LaPoste company.
French Postal Barcode - dCode
Tag(s) : Image Processing, Character Encoding
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Tool to decode/encode a postal code with a French LaPoste barcode. The french postal barcode is a code using bars and dots, used to digitally read postcodes when sorting mail with processing machines from the french LaPoste company.
The French postal barcode (by LaPoste) uses bars and dots (or space), which are read from right to left. It encodes the numbers for the Postal/ZIP code or code Cedex (routing code) and (sometimes) the street number (distribution code). It is located, on most automated mails, usually at the opposite of the stamp.
The code is a substitution using this table :
0 | ..|||| |
1 | .|.||| |
2 | .||.|| |
3 | .|||.| |
4 | |..||| |
5 | |.|.|| |
6 | |.||.| |
7 | ||..|| |
8 | ||.|.| |
9 | |||..| |
Example: 75001 is coded .|.||| ..|||| ..|||| |.|.|| ||..||
To decode, substitute the vertical bars by the corresponding numbers and read from right to left.
Example: .|||.| .||.|| .|.||| is read 123
The message consists of sticks and dots (or spaces) by groups of 6: 4 lines and 2 dots, for a french postal code it is at least 30 chars in total.
Any reference to the postman's work, the sorting of mail or the emails is a clue.
dCode retains ownership of the online 'French Postal Barcode' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script, copy-paste, or API access will be for free, same for French Postal Barcode download for offline use on PC, tablet, iPhone or Android !
Please, check our community Discord for help requests!