TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an existing tool for generating BibTeX of a website using its URL? What I'm thinking is something like a web tool or a Python script that does this.

share|improve this question
up vote 10 down vote accepted

I'm using Zotero, a Firefox plugin, to collect and maintain my references. It has to possiblity to export to BibTeX and to generate an entry from a website. It supports several online formats for references, like Google Scholar or the IEEE Explorer website and can extract the data from them directly. For general websites it produces a generic entry.

For example it generated this entry from this very page:

    title = {citing - Tool for generating a website's {BibTex} using the {URL?} - {TeX} - {LaTeX} - Stack Exchange},
    url = {http://tex.stackexchange.com/questions/32955/tool-for-generating-a-websites-bibtex-using-the-url},
    howpublished = {http://tex.stackexchange.com/questions/32955/tool-for-generating-a-websites-bibtex-using-the-url}
share|improve this answer
What package are you using "url" never works for me. – Magpie Jan 26 '13 at 21:42
@Magpie: I'm using hyperref which also uses url, but your bibliography style is what's important here, i.e. what code it does create from the url entry. – Martin Scharrer Jan 27 '13 at 9:45

A generic (reference manager independent) solution:

  1. Create a new bookmark in the bookmark panel of your browser.
  2. Name it ("Export -> BibLaTeX" or whatever).
  3. URL: (Insert Content from this file).
  4. Load the page you want to cite.
  5. Click on the new bookmark button.
  6. Copy the selected text to clipboard and press [ENTER].
  7. Paste the BibLaTeX entry into
    1. your .bib file.
    2. JabRef: Just paste it into the open bibliography table.
    3. Zotero: Go to 'file' -> 'import from clipboard'.
share|improve this answer
Welcome to TeX.SX! Would this work in any browser? – Torbjørn T. Apr 10 '14 at 7:50
Hi, Torbjørn T.! I tested it with Google Chrome. Works fine for me. Sorry, no idea, if this works with other browsers. – Daniel Apr 10 '14 at 7:54
Doesn't work in Firefox (28) on Linux Mint. – Bruno Apr 10 '14 at 8:26
@Bruno: Sorry, there was a problem with some code escape characters. I created a git repository to file my script and updated my answer. Could you please try this version again? Thanks! – Daniel Apr 10 '14 at 9:37
@Daniel: It works now! – Bruno Apr 10 '14 at 11:34

This site allows you to create a citation from a URL and then export it as a bibtex reference:


share|improve this answer
Welcome to TeX.SX! – Adam Liter Jan 15 '15 at 19:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.