AI Tools Free

DOI Formatter

Paste any raw 10.xxxx identifier, doi: prefix, or legacy dx.doi.org link into this DOI formatter to generate both a clean bare DOI string and an RFC 3986 percent-encoded https://doi.org/ resolver URL in your browser.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Format DOI.

DOI, doi: identifier or doi.org resolver URL; at most 2,048 UTF-16 code units including URL prefixes and percent encoding.

Your result
Enter your details

Result will appear here

How this DOI formatter normalizes identifiers and resolver URLs

Academic publishers, PDF headers, and reference managers display Digital Object Identifiers in inconsistent notations such as doi:10.1000/182, http://dx.doi.org/10.1000/182, or URLs with tracking parameters. Current Crossref, APA 7th, MLA 9th, and Chicago guidelines standardize on the https://doi.org/ resolver link, while BibTeX requires the bare 10.xxxx/... string.

When you submit an input up to 2,048 UTF-16 code units, this tool trims surrounding whitespace, strips any leading doi: prefix (case-insensitive), or parses http:// and https:// doi.org and dx.doi.org URLs to extract the URL-decoded pathname while discarding query strings (?utm_source=...) and #fragment anchors.

Next, it validates that the decoded identifier matches 10.<4-9 digits>/<suffix> with no control characters or unpaired UTF-16 surrogates. It then returns DOI: <identifier> alongside URL: https://doi.org/<encoded-identifier>, where characters other than / are percent-encoded via encodeURIComponent.

Diagram showing a raw DOI string or dx.doi.org link normalized into a bare 10.xxxx identifier and an https://doi.org/ URL.
The formatter extracts the 10.xxxx identifier and outputs both the bare DOI and the canonical https://doi.org/ link.

DOI format rules and input normalization table

Compare how raw DOI strings, doi: prefixes, and dx.doi.org URLs are normalized, and how APA 7th, MLA 9th, Chicago, IEEE, and BibTeX format the output.

Input or citation styleRaw input or style ruleNormalized DOI: outputCanonical URL: or bibliography format
Bare DOI string10.1000/18210.1000/182https://doi.org/10.1000/182
doi: scheme prefixdoi:10.1038/nphys117010.1038/nphys1170https://doi.org/10.1038/nphys1170
Legacy dx.doi.org linkhttp://dx.doi.org/10.1145/329250010.1145/3292500https://doi.org/10.1145/3292500
Tracked PDF resolver URLhttps://doi.org/10.1000/182?utm_source=pdf#page=210.1000/182https://doi.org/10.1000/182 (query and fragment removed)
Legacy SICI punctuation10.1002/(SICI)1097-0258<1661>10.1002/(SICI)1097-0258<1661>https://doi.org/10.1002/%28SICI%291097-0258%3C1661%3E
APA 7th editionFull https://doi.org/ link at end of entryUse URL: linehttps://doi.org/10.1037/aca0000051 (no trailing period)
MLA 9th editionFull https://doi.org/ link at end of entryUse URL: linehttps://doi.org/10.1037/aca0000051. (with trailing period)
Chicago 17th / 18th editionFull https://doi.org/ link at end of note/entryUse URL: linehttps://doi.org/10.1037/aca0000051. (with trailing period)
IEEE reference styledoi: 10.xxxx/yyyy. at end of citationUse DOI: linedoi: 10.1109/5.771073.
BibTeX / BibLaTeX doi fieldBare identifier inside doi = {...}Use DOI: linedoi = {10.1145/3292500}

How to format a DOI and generate a https://doi.org/ link

Follow these three steps to normalize any Digital Object Identifier and generate its official resolver link.

Paste a raw DOI or resolver URL

Enter your identifier into DOI or DOI resolver URL (pre-filled with https://doi.org/10.1000/182). You can paste a bare 10.xxxx/... string, a doi: prefix, or a doi.org / dx.doi.org link.

DOI or resolver URL input
DOI Formatter input box showing https://doi.org/10.1000/182 and supported DOI prefix formats.
Paste a bare 10.xxxx string, a doi: label, or a doi.org / dx.doi.org link.

Verify the 10.xxxx registrant prefix

Confirm that the identifier starts with 10. followed by 4 to 9 registrant digits, a forward slash /, and a non-empty suffix within 2,048 UTF-16 code units.

Normalized DOI and URL
DOI Formatter result panel displaying DOI: 10.1000/182 and URL: https://doi.org/10.1000/182.
The output panel returns the bare DOI: line for BibTeX and the encoded URL: line for APA and MLA citations.

Click Format DOI and copy your output

Click Format DOI to output both the bare DOI: line and the encoded URL: line, then use Copy or Download to paste into your bibliography or .bib file.

Copy or download output
DOI Formatter workspace displaying the input string, normalized DOI and URL lines, and Copy and Download buttons.
Copy the formatted DOI and https://doi.org/ URL or download the result as a text file.

Worked DOI format examples for APA 7th, MLA 9th, and BibTeX

These three examples show how the formatter cleans real publisher strings for APA 7th citations, MLA 9th Works Cited entries, and LaTeX bibliographies.

Formatting a journal DOI for APA 7th and MLA 9th (doi:10.1038/nphys1170)

Pasting doi:10.1038/nphys1170 removes the doi: label and outputs DOI: 10.1038/nphys1170 and URL: https://doi.org/10.1038/nphys1170. For APA 7th format, paste https://doi.org/10.1038/nphys1170 at the end of your reference with no period; for MLA 9th, add a period after the link.

Converting doi:10.1038/nphys1170 into https://doi.org/10.1038/nphys1170 for APA 7th and MLA 9th references.
Stripping the doi: prefix produces https://doi.org/10.1038/nphys1170 for APA 7th (no period) and MLA 9th (with period).

Upgrading legacy dx.doi.org links and stripping PDF tracking

Many older PDFs embed links like http://dx.doi.org/10.1145/3292500.3330701?utm_source=pdf#page=3. Running the formatter upgrades the host to https://doi.org/, strips ?utm_source=pdf and #page=3, and outputs DOI: 10.1145/3292500.3330701 and URL: https://doi.org/10.1145/3292500.3330701.

Upgrading http://dx.doi.org/10.1145/3292500.3330701?utm_source=pdf#page=3 to https://doi.org/10.1145/3292500.3330701.
Legacy dx.doi.org links are upgraded to https://doi.org/ with query strings and PDF page fragments removed.

Percent-encoding older SICI suffixes for Markdown and HTML

Early Wiley and medical journal DOIs based on SICI codes contain <, >, ;, and parentheses, such as 10.1002/(SICI)1097-0258(19980815/30)17:15/16<1661::AID-SIM871>3.0.CO;2-2. The tool keeps the unencoded string in DOI: for BibTeX while encoding <, >, and ; in URL: so Markdown and HTML parsers keep the full hyperlink intact.

Percent-encoding angle brackets and parentheses in a legacy SICI DOI suffix for safe Markdown and HTML linking.
Reserved characters like <, >, and parentheses in older SICI DOIs are percent-encoded in the URL: output.

When to use the bare DOI string vs. the https://doi.org/ URL

Understand when to use the first output line (DOI:) versus the second output line (URL:).

The DOI: line contains the URL-decoded, whitespace-trimmed identifier (10.xxxx/...) with original suffix letter casing preserved. Paste this bare string into BibTeX or BibLaTeX doi = {...} fields, Zotero or Mendeley DOI boxes, and IEEE citations (doi: 10.xxxx/...) so citation processors do not double-prefix https://doi.org/.

The URL: line provides the canonical https://doi.org/ resolver link with any interior spaces or reserved punctuation percent-encoded per RFC 3986 while keeping / readable. If you are building full reference entries from scratch, combine this link with the APA Citation Generator or Citation Generator.

Comparison of the bare DOI: line for BibTeX doi = {...} fields and the https://doi.org/ URL: line for bibliographies.
Use the bare DOI: line in BibTeX doi = {...} fields and the https://doi.org/ URL: line in APA, MLA, and Chicago references.

DOI format validation rules vs. live Crossref lookup

Know what local DOI syntax checking verifies and when to open the resolver link in your browser.

This formatter runs client-side in your browser and checks that the extracted string starts with 10. followed by a 4-to-9 digit registrant prefix, a / separator, and at least one suffix character within 2,048 UTF-16 code units, rejecting control characters and unpaired UTF-16 surrogates.

Because the tool does not make external network requests to Crossref or DataCite, a syntactically valid string like 10.1234/unregistered-test will format cleanly even if no publisher has registered it. Click or open the generated https://doi.org/ URL to confirm that it redirects to the live journal article, or validate your .bib file entries with the BibLaTeX Validator.

ISO 26324 DOI prefix structure (10. plus 4 to 9 registrant digits and slash) checked locally in the browser.
Local syntax validation checks the 10.<4-9 digits>/<suffix> structure; open the generated URL to verify live Crossref registration.

Frequently asked questions about DOI formatting

Practical answers on APA 7th and MLA 9th DOI URLs, trailing periods, BibTeX fields, and ISO 26324 registrant rules.

How do I format a DOI in APA 7th edition?

In APA 7th edition, present every DOI as a full HTTPS URL starting with https://doi.org/ directly before the 10.xxxx/... identifier (for example, https://doi.org/10.1037/aca0000051). Do not precede the link with DOI: or doi:, and do not use http://dx.doi.org/.

Does the DOI end with a period in APA format vs. MLA format?

In APA 7th edition, do not put a period at the end of a DOI URL, because a trailing period can be copied as part of the hyperlink and break resolution. In MLA 9th edition and Chicago 17th/18th edition, place a period at the end of the Works Cited or bibliography entry after the https://doi.org/ URL.

Should I use https://doi.org/ or http://dx.doi.org/ in citations?

Use https://doi.org/. The International DOI Foundation, Crossref, DataCite, APA 7th edition, and MLA 9th edition deprecated http://dx.doi.org/ in favor of the shorter, HTTPS-encrypted https://doi.org/ resolver. Both resolve through the same Handle System, so upgrading http://dx.doi.org/10.xxxx/... to https://doi.org/10.xxxx/... is always safe.

What makes a valid DOI structure under ISO 26324?

Every standard DOI consists of a prefix and a suffix separated by a forward slash (/). The prefix begins with the directory indicator 10. followed by a 4-to-9 digit registrant code assigned to the publisher or repository (such as 10.1038 for Nature, 10.1145 for ACM, or 10.5281 for Zenodo), and the suffix identifies the specific work.

Should I put the full https://doi.org/ URL or bare 10.xxxx string in BibTeX?

In BibTeX and BibLaTeX, put the bare identifier (10.1038/nphys1170) inside the doi = {10.1038/nphys1170} field, using the DOI: line from this tool. Most .bst and BibLaTeX styles automatically prepend https://doi.org/ when rendering the PDF, so pasting a full URL into doi = {...} causes a doubled https://doi.org/https://doi.org/... link.

Does this DOI formatter verify whether a DOI exists in Crossref?

No. This tool validates DOI syntax and normalizes resolver URLs locally in your browser with zero external API calls. To verify that a DOI resolves to a live publication, copy the generated https://doi.org/ URL and open it in a browser tab.

Normalize your DOI and resolver URL now

Return to the input box above to convert another raw DOI, doi: string, or dx.doi.org link.

Format DOI