How to use the BibTeX Generator
- Fill in the source details.
- Optionally set your own citation key.
- Copy the entry or download a .bib file.
What does this tool do?
BibTeX is the reference format used with LaTeX. Each entry has a type (@book, @article, @incollection or @misc), a citation key you use with \cite{}, and fields such as author, title, journal and year.
The generator builds a key from the first author, year and first title word, wraps the title to preserve capitalisation and escapes special characters like & and %.
Why use it?
- Correct entry types.
- Automatic citation keys.
- Download all saved sources as one .bib.
Use cases
- Reference lists for theses and papers written in LaTeX or Overleaf.
- Adding a source that your reference manager can't find.
- Building a .bib file for a course or project.
A journal article entry
@article{smith2021coastal,
author = {Smith, Jane and Okafor, Ade},
title = {{Coastal Erosion in the Gulf}},
journal = {Marine Geology},
year = {2021}
}
Cite it in LaTeX with \cite{smith2021coastal}.
Common mistakes
- Separating authors with commas instead of “and”.
- Losing capitals in titles — the double braces keep “Gulf” capitalised.
- Duplicate citation keys in one .bib file.
Privacy
The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.
Frequently asked questions
Which entry type should I use?
@article for journals, @book for books, @incollection for a chapter in an edited book and @misc for websites and other sources.
Can I import it into Zotero or Mendeley?
Yes, both import .bib files.
Why are & and % escaped?
They are special characters in LaTeX and would otherwise break the build.
Content last updated . See how M2Toolkit works.