Take the 2-minute tour ×
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.

I'm using bibtex for my bibliography in LaTeX. I have some URL's I need to cite in the paper. How do I add URLs into the .bib file?

A typical section in my .bib file looks like this:

  title={{Face recognition using eigenfaces}},
  author={Turk, M. and Pentland, A.},
  booktitle={Proc. IEEE Conf. on Computer Vision and Pattern Recognition},

I tried some misc sections in bibtex but they don't show up in my document.

share|improve this question

migrated from stackoverflow.com Nov 24 '11 at 0:10

This question came from our site for professional and enthusiast programmers.

Please have a look at this question: tex.stackexchange.com/questions/36248/… –  Marco Daniel Feb 3 '12 at 15:17

6 Answers 6

up vote 109 down vote accepted

The last time i cited an URL, i used a bibtex-entry of the following form:

  author = {Ingo Lütkebohle},
  title = {{BWorld Robot Control Software}},
  howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-robot-control-software/}",
  year = {2008}, 
  note = "[Online; accessed 19-July-2008]"

If that does not show up, then it might indeed be a problem with your BiBTeX style (or you forgot to \usepackage{url} in your main .tex file).

share|improve this answer
Thank you for the full example –  Janusz Nov 18 '09 at 19:06
Don't forget to add \usepackage{url} in your tex file; doesn't work for me otherwise. –  humble coffee May 3 '10 at 2:49
This worked great for me with revtex (I'm adding this comment so this answer shows up in searches for revtex). –  zje Apr 12 '12 at 16:34
\usepackage{hyperref} is rather more powerful and flexible than \usepackage{url}. –  Mohan Oct 18 '12 at 15:23

You need to


and then

share|improve this answer
This doesn't really fit into my bibtex file –  Janusz Nov 18 '09 at 13:39
shouldn't it be \usepackage{url} and not \includepackage{url}? –  Bryce Thomas Mar 15 '10 at 10:34
@Bryce: erm, yes. I've amended it. sorry. –  Peter Mar 15 '10 at 10:42
this does not work for mine –  LCFactorization Jan 20 at 7:33

Depends what BibTeX style you're using. In the ordinary ones I usually use


in biblatex (and natbib too, I think), you can just write

share|improve this answer
This doesn't really fit into my bibtex file –  Janusz Nov 18 '09 at 13:38

Correct me if I'm wrong, but I think you are trying to reference websites and not articles in a journal, for instance. And, having placed said references in a misc entry, they don't show up when you reference them. If that is correct, then the problem is your bibliography style (bst file) does not have an entry in it for dealing with a misc type. I would suggest that you use biblatex as it highly customizable and includes an online entry type specifically for your purpose. Alternatively, you could use custom-bib, which will give you a custom bst file that would display a misc entry. However, I think biblatex is still your best bet.

share|improve this answer
It would be most unusual for a bibliography style not to recognize the extremely common @misc entry type. In fact, such a style would have to be considered to be broken. –  Mico Nov 9 at 22:53

UK TEX FAQ usually have really good answers for TeX related questions: URLs in BibTeX bibliographies

share|improve this answer

Use the following code with @conference{...

note={\url{http://abc.com} [Online; accessed 15-Oct-2013]},
share|improve this answer
This doesn't really add much value that other answers have not already covered. –  Werner Oct 15 '13 at 22:04

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.