Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

url2ref generates formatted citations from URLs by extracting metadata from web pages.

Metadata Sources

  • Open Graph
  • Schema.org
  • HTML Meta Tags
  • DOI Resolution
  • Zotero/Citoid (optional)
  • AI Extraction (optional)

Citation Formats

FormatUse Case
MediaWikiWikipedia editing
BibTeXLaTeX/academic papers
HarvardAcademic writing

Example

url2ref-cli --url "https://www.bbc.com/news/technology-12345678"

Output:

{{cite web
  | title = Example News Article
  | author = John Smith
  | date = 2024-01-15
  | website = BBC News
  | url = https://www.bbc.com/news/technology-12345678
  | access-date = 2024-01-20
}}

Next

See Installation to get started.