ROR identifier pattern

The preferred form of a ROR identifier (a "ROR ID", the id element in a ROR record) is the entire URL: https://ror.org/02mhbdp94 rather than ror.org/02mhbdp94 or 02mhbdp94.

The unique strings in ROR identifiers are assigned randomly, not sequentially, and contain no organizational information; therefore, the ROR ID of one organization cannot be predicted from the ROR ID of a related organization.

The unique portions of ROR identifiers have a consistent pattern and can be validated with regular expressions. The unique string consists of 9 characters: a zero followed by 6 characters that can be either lower-case letters or integers followed by 2 integers.

The ROR ID pattern uses base 32 Crockford encoding, which excludes letters "I", "L", "O", and "U". The last 2 digits of the ROR identifier are a checksum that follows the ISO/IEC 7064:2003 standard. See the code that generates the ROR ID and the checksum calculation for further details.

Regular expressions to validate the unique portion of the ROR ID pattern include the following:

^0[a-z|0-9]{6}[0-9]{2}$
^0[a-hj-km-np-tv-z|0-9]{6}[0-9]{2}$

Other resources you might find helpful