Validate DOI

Check a DOI identifier or doi.org URL for the standard prefix and suffix shape.

freeworks offlinenothing uploaded
ToolDOI Validator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Common URL and doi: prefixes are removed, then the value must contain a 10. registrant prefix, slash, and non-whitespace suffix. Prefix and suffix are returned separately without contacting a resolver.

  • Prefix stripping accepts common citation forms.
  • No network lookup keeps the result deterministic.

Worked example

Valid DOI
Validate a standard DOI identifier
Input
											10.1038/nature12373
										
Output
												Valid DOI: 10.1038/nature12373
Prefix: 10.1038
Suffix: nature12373
											

When to use this

Bibliographies, Crossref exports, and research repositories validate DOI strings.

Edge cases

  • A doi.org URL is normalized before checking.
  • A value without the slash fails even when it starts with 10.
  • A syntactically valid identifier may still be unregistered.

References