Skip to main content
TrackJud TrackJud

Free tool

CNJ number decoder

Paste a standardized Brazilian CNJ process number and see what each part means. The parser runs in your browser — nothing is sent to any server.

How a CNJ number is built

The CNJ number is the standardized unique identifier issued by Brazil's National Council of Justice (CNJ) for every lawsuit in the country. It has 20 digits distributed across 6 fields:

NNNNNNN-DD.AAAA.J.TR.OOOO

- NNNNNNN (7 digits) — sequential case number within the issuing authority - DD (2 digits) — check digits computed via mod-97 - AAAA (4 digits) — year of filing - J (1 digit) — justice segment (1=STF, 3=STJ, 4=Federal, 5=Labor, 6=Electoral, 7=Federal Military, 8=State, 9=State Military) - TR (2 digits) — tribunal code within the segment (e.g., 26 = TJSP) - OOOO (4 digits) — origin unit (court section, district, chamber)

This decoder validates the check digits with the official mod-97 algorithm (CNJ Resolution 65/2008) and identifies the tribunal, segment, state, and region for the vast majority of active processes.

Decoded it — now what?

Vigilant lets you search, monitor, and extract structured data from this process — parties, movements, subjects — via API or dashboard.

See process details with Vigilant