Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Identity
de
#steuerid
#germany
#german
#tax

German Tax ID (Steuer-IdNr)

Matches a German personal tax identification number (Steuerliche Identifikationsnummer) — 11 digits, first digit 1–9.

German tax formsPayroll systemsELSTER integration
/
/
Safe
Test String
2 matches
[…]Character class […]Matches any single character listed in this set
1-91-91-9 — range from '1' to '9'
\d{10}digit\d — digit (0–9) — repeated exactly 10 times · {10} — exactly 10 times
Pattern: 11 charsInput: 23 chars
100% client-side · private

Valid Examples

  • 12345678901
  • 98765432109

Invalid Examples

  • 0123456789
  • 1234567890
  • 1234567890A

Usage & Integration

Validate German Tax ID (Steuer-IdNr) natively in your backend or frontend without copying regex strings.

Node / Edge

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

validate('de-steuerid', '...');

Python

from regexto_validators import validate

validate("de-steuerid", "...")

Go

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

valid, err := validators.Validate("de-steuerid", "...")

PHP

use RegexTo\Validators\Validator;

Validator::validate('de-steuerid', '...');

Rust

use regexto_validators::validate;

let is_valid = validate("de-steuerid", "...").unwrap();