Skip to content

NTN and STRN playground

Runs in your browser: nothing you type is uploaded or stored.

NTN

A CNIC for individuals, or 7 digits (plus optional check digit) for companies and AOPs.

Try: 0622438-9 · 0622438 · 35202-1234567-1

STRN

13 digits, with optional dashes or spaces.

Result

NTNValid
Type
Business
Formatted
0622438-9
STRNValid

FBR does not publish its check-digit algorithms, so these check the format only.

Usage
import { analyzeNTN, validateSTRN } from "pakdatakit";

analyzeNTN("0622438-9");
// → { type: "business", formatted: "0622438-9" }
validateSTRN("17-00-3761-882-19"); // → true