How do I remove "[Online]. Available:" from References in IEEETran.cls in Overleaf? I am currently using \def\url#1{} to disable the URL. Thank you for your help.

  • 1
    Welcome to TeX.SX! Could you please add a minimal working example with bibliography (MWEB) that allows others to reproduce the issue you describe?
    – leandriis
    Commented Jul 15, 2019 at 18:00
  • Did you mean IEEEtran.bst (the bibliography style file) or IEEEtran.cls (the LaTeX document class file)? I would be very surprised if it turns out that the document class governs the insertion of strings such as [Online]. Available: in the formatted bibliographic entries. That's usually the job of the bibliography style file. Please advise.
    – Mico
    Commented Jul 15, 2019 at 19:25
  • Please also clarify your actual typesetting objective? Is it to suppress the typesetting of URL strings in the bibliography? If that's not the case, what else are you trying to achieve?
    – Mico
    Commented Jul 15, 2019 at 19:27
  • I was wrong to assume that it was IEEEtran.cls. It should be IEEEtran.bst. Here is an example. overleaf.com/6133299219cjwsjhyzpbnb. Only the third reference shows the issue.
    – Rashed
    Commented Jul 16, 2019 at 17:30
  • 1
    The code is unavailable without an account ...
    – MS-SPO
    Commented Jul 5, 2022 at 8:18

3 Answers 3


Solution here worked:

Disabling URLs in bibliography

The IEEEtran.bst v1.14 introduces a new option to disable URLs. Now you can create a bib file containing the following:

    CTLuse_url = "no",

Include this bib file along with other bib files, and invoke it via bstctlcite


All URLs in the references will be gone.


I had the same problem and fixed by editing the FUNCTION {format.url} in IEEEtran.bst


FUNCTION {format.url}
{ url empty$
    { "" }
    { this.to.prev.status
      cap.yes 'status.cap :=
      name.url.prefix " " *
      "\url{" * url * "}" *
      punct.no 'this.status.punct :=
      punct.period 'prev.status.punct :=
      space.normal 'this.status.space :=
      space.normal 'prev.status.space :=
      quote.no 'this.status.quote :=


FUNCTION {format.url}
{ ""}

Found a way around the issue: remove URL in Zotero (one-by-one, tedious) then export the bibLatex file. This may throw a couple of warnings in the overleaf which can be ignored.

  • 1
    With Better BibTeX for Zotero it is (probably, I don't use it myself, so I can't be sure, but I would bet quite a lot on it) possible to remove URLs automatically.
    – moewe
    Commented Jul 21, 2019 at 15:30
  • This is indeed possible using BBT. You can just add the url field to fields to omit preference.
    – retorquere
    Commented Jul 21, 2019 at 23:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .