10-digit
This tool is intended for programmers and QA testers to help with their work. The numbers are generated fully randomly and are not related to any particular person or object. You are not allowed to use them in any actual forms requiring actual information.
All the calculations in the GUI above are made client-side.
I make every effort for the validation to be reliable, but I cannot promise that it is 100% accurate and up-to-date. For the numbers that encode a specific tax office, district, area code, etc., this tool does not validate, if that value is correct and exists. Generator is not a database of all existing entities, it only checks if the number follows its specification.
GET/api
Returns a list of available generators per country, and a list of available parameters.
GET/api/:country/:generator?param=value
Generates a string.
GET/api/:country/:generator/:number
Validates a string.
GET/api/barcode/ean13/:number.svg
Generate an SVG with a barcode
yarn add avris-generator
const gm = require('avris-generator');
const pesel = gm.generate('PL', 'pesel', {gender: 'm'});
try {
const data = gm.validate('PL', 'pesel', '12345678900');
// valid
} catch (e) {
// invalid
alert(e.message);
}