HUB-3 Barcode API

A simple API for generating 2D barcodes according to the HUB-3 standard.

Sample HUB-3 barcode

The standard

HUB-3 is a payment slip format used by Croatian banks and published by the Croatian Banking Association. It also defines a way to encode this data as a 2D barcode in PDF417 format.

You can find out more about the HUB-3 Barcode standard here (Croatian, PDF).

This barcode is often printed on HUB-3 payment slips and many banking applications can scan and process such barcodes.

Sample HUB-3 barcode


This API is provided free of charge for personal or commercial use. We will do our best to keep the service up and running, but cannot provide guarantees of the service's availability.

There is no limit on the usage of the API, but please be considerate.

This web is not affiliated with the Croatian Banking Association.

Privacy policy

None of the data sent to the barcode generator is stored or forwarded. The API uses a secure HTTPS connection for protecting your privacy. The project is open source, feel free to check it out.