Citation Generator (BibTeX)
This BibTeX citation generator turns the details of a book, journal article, conference paper or web page into a BibTeX entry you can paste into a .bib file and cite from LaTeX. Paste structured fields or a free-text reference, and the generator writes an entry with an entry type, a citation key and the fields it can identify: author, title, year, journal or booktitle, volume, pages, publisher and DOI.
An AI model (OpenAI gpt-4o-mini) writes the entries from the text you paste. It does not query Crossref, PubMed or a library catalogue, so a bare DOI or URL is not enough for a reliable result: include the title and authors and check the output against the source. The tool is free, needs no account, and exports a references.bib file that works with BibTeX, natbib and biblatex.
How to generate a BibTeX citation
- Describe the source. Paste the title, authors, year and venue of a book, article or conference paper, in any order or as a free-text reference. A DOI or URL can go in too, but add the details you have, because the generator does not fetch them.
- Generate the BibTeX entry. Click Generate BibTeX. The AI picks the entry type (
@article, @book, @inproceedings and so on), writes a citation key such as goodfellow2016deep and fills in the fields it can identify. - Check it and save it. Compare the fields with the publisher page, then copy the entry or click Export as .bib to download
references.bib. The Preview tab opens a natbib test document in Octree that cites every key.
Common BibTeX errors and how to fix them
- Citation undefined. The key in
\cite{...} must match the key after @article{ exactly, and the document needs \bibliography{references} with a style such as \bibliographystyle{plain}. Run BibTeX, then LaTeX twice. - Names in the wrong order. Separate authors with
and, not commas: author = {Smith, John and Doe, Jane}. A comma inside one name marks Last, First. - Capital letters disappear. Many styles lowercase titles. Wrap acronyms and proper nouns in braces, for example
{BERT} or {Bayesian}, to keep their capitals.
BibTeX citation generator FAQ
- How do I generate a BibTeX citation?
- Paste the details of the source (title, authors, year, journal or publisher) into the box and click Generate BibTeX. The tool returns a complete BibTeX entry with an entry type, a citation key and the matching fields, which you can copy or download as references.bib.
- Can it make a BibTeX entry from a DOI or URL?
- You can paste a DOI or URL, but the generator does not look it up in Crossref or on the web: an AI model writes the entry from the text you give it. For a well-known paper it often fills the fields correctly, but it can get them wrong, so check every field, or paste the title, authors and venue along with the DOI.
- Does it format APA, MLA or IEEE citations?
- It outputs BibTeX only. The citation style is chosen in your LaTeX document, for example \bibliographystyle{IEEEtran} or \bibliographystyle{apalike}, or with biblatex and style=apa, so the same .bib entry can be printed in any style.
- Is the BibTeX generator free?
- Yes. It is free and needs no account. Nothing is saved on this page, so copy the entry or export the .bib file before you leave.
See worked examples in the LaTeX bibliography guide, start a paper from the LaTeX templates, or compile your document in the online LaTeX editor.