Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Identity
pl
#poland
#pesel
#identity
#pl

Polish PESEL

Polish national identification number (PESEL) — an 11-digit number encoding date of birth, gender, and a checksum, assigned to every citizen.

Polish government formsHealthcare system integrationKYC validation
/
/
Safe
Test String
3 matches
\d{11}digit\d — digit (0–9) — repeated exactly 11 times · {11} — exactly 11 times
Pattern: 6 charsInput: 35 chars
100% client-side · private

Valid Examples

  • 44051401458
  • 02070803628
  • 90090515836

Invalid Examples

  • 1234567890
  • 123456789012
  • abcdefghijk

Usage & Integration

Validate Polish PESEL natively in your backend or frontend without copying regex strings.

Node / Edge

import { validate } from '@regexto/validators';

validate('pl-pesel', '...');

Python

from regexto_validators import validate

validate("pl-pesel", "...")

Go

import "github.com/regex-to/validators-go"

valid, err := validators.Validate("pl-pesel", "...")

PHP

use RegexTo\Validators\Validator;

Validator::validate('pl-pesel', '...');

Rust

use regexto_validators::validate;

let is_valid = validate("pl-pesel", "...").unwrap();