# How to Use Zotero with Overleaf

## Quick Answer

- Export your Zotero library as BibTeX and upload the .bib file to Overleaf to enable LaTeX citation management.
- Use the Zotero plugin for Firefox or LibreOffice when working outside Overleaf, but for Overleaf the BibTeX export workflow is the primary integration path.
- Citation keys must be unique and stable across your Zotero library, since Overleaf relies on these keys to match in-text citations to bibliography entries.

## Understanding the Zotero and Overleaf Integration Landscape

Zotero is a reference management tool that collects, organizes, cites, and shares research sources. Overleaf is an online LaTeX editor that allows collaborative writing of academic documents. The two tools serve different functions in the research workflow. Zotero manages the reference library itself, while Overleaf handles document compilation and formatting.

The integration between these platforms is not a direct live sync. Instead, researchers use a file-based workflow where the Zotero library is exported to a BibTeX file, and that file is then uploaded to an Overleaf project. This approach works because LaTeX uses BibTeX files to generate citations and bibliographies during document compilation.

Researchers who need live synchronization between Zotero and Overleaf must understand that no official real-time plugin exists for this specific pairing. The practical solution involves establishing a consistent export and upload routine. This workflow is reliable and widely used in academic settings, particularly for journal submissions that require LaTeX formatting.

## Core Principles of Citation Management in LaTeX

LaTeX handles citations through a separate bibliography file, typically with a .bib extension. This file contains structured entries for each reference, including fields such as author, title, year, journal, volume, and pages. Each entry has a unique citation key that the document text references.

The BibTeX format is the standard interchange format for LaTeX bibliographies. Zotero can export libraries in this format through its built-in export function. When you export from Zotero, the resulting .bib file contains all the metadata needed for LaTeX to format citations according to your chosen bibliography style.

Understanding the relationship between citation keys and document compilation is essential. When you write `\cite{smith2023}` in your LaTeX document, the compiler searches the .bib file for an entry with the key `smith2023`. If the key does not exist, the citation will not resolve, and you will see a warning or error during compilation.

## Setting Up Your Zotero Library for Export

Before exporting to BibTeX, organize your Zotero library with a clear structure. Collections in Zotero function as folders that group related references. Creating a collection for each manuscript or project simplifies the export process because you can export only the references relevant to that specific document.

### Organizing References into Collections

Create a new collection in Zotero for each Overleaf project. Right-click on the Zotero library sidebar and select New Collection. Name the collection after your manuscript or project. Drag relevant references into this collection. This organization step prevents exporting your entire library when only a subset of references applies to the current document.

### Checking Metadata Completeness

Incomplete metadata in Zotero produces incomplete BibTeX entries. Before export, verify that each reference has the essential fields populated. For journal articles, confirm the author names, publication year, article title, journal name, volume, issue, and page numbers. For books, verify author, year, title, publisher, and edition if applicable.

Zotero automatically captures most metadata when you import references from databases or websites using the browser connector. However, manual entries or imported PDFs may have gaps. Review each item in the collection before export to ensure the .bib file will contain complete information.

### Setting Citation Key Preferences

Zotero generates citation keys based on your preferences. Access these settings through Zotero preferences and select the Cite tab, then the Styles submenu. The citation key format determines how entries appear in the exported BibTeX file. A common format uses the first author surname and the publication year, such as `smith2023`.

Consistent citation key formatting matters because Overleaf displays these keys in the LaTeX source. If you change the key format later, you must update all in-text citations in your document. Establish your preferred format early and maintain it across projects.

## Exporting Zotero Collections to BibTeX

The export process converts your Zotero collection into a .bib file that Overleaf can read. This process takes only a few seconds but requires attention to the export options.

### Step-by-Step Export Procedure

1. Select the collection you want to export in the Zotero left sidebar.
2. Right-click the collection and choose Export Collection.
3. In the export dialog, select BibTeX as the format.
4. Choose whether to export notes and attachments. For most Overleaf projects, leave these unchecked because LaTeX does not use Zotero notes or attached PDFs.
5. Click OK and choose a save location for the .bib file.

The resulting file contains one BibTeX entry for each reference in the collection. Open the file in a text editor to verify the contents before uploading to Overleaf. Check that citation keys are present and that no entries are missing required fields.

### Exporting the Entire Library

If your document cites references from multiple collections, you can export the entire library instead of individual collections. Right-click the library name in the Zotero sidebar and select Export Library. Choose BibTeX format and save the file. This approach works but produces a larger file that may contain irrelevant references.

For most manuscripts, exporting a specific collection is preferable because it keeps the .bib file focused and manageable. Overleaf projects with large .bib files compile more slowly, and extraneous entries increase the risk of citation key conflicts.

## Uploading the BibTeX File to Overleaf

Once you have the .bib file, upload it to your Overleaf project. Overleaf projects store files in a cloud-based workspace that syncs across devices.

### Upload Procedure

1. Open your Overleaf project.
2. Click the upload icon in the file tree panel on the left side of the editor.
3. Select the .bib file from your computer.
4. Confirm the upload when prompted.

The .bib file appears in the project file list. You can open it in the Overleaf editor to view or edit the entries directly. Overleaf compiles the bibliography when you build the document, using the .bib file referenced in your main .tex file.

### Referencing the BibTeX File in Your Document

Your main LaTeX document must tell the compiler which .bib file to use. Add the following lines to your document preamble or where you want the bibliography to appear:

```
\bibliographystyle{plain}
\bibliography{yourfilename}
```

Replace `yourfilename` with the name of your uploaded .bib file without the extension. The `\bibliographystyle` command selects the citation format. Common styles include `plain`, `unsrt`, `abbrv`, and journal-specific styles provided by publishers.

Place the `\bibliography` command where you want the reference list to appear in your document, typically at the end before any appendices.

## Using Citation Keys in Your LaTeX Document

In-text citations in LaTeX use the `\cite` command with the citation key from your .bib file. For example, if your BibTeX entry has the key `smith2023`, you write `\cite{smith2023}` in your document text.

### Finding Citation Keys in Zotero

Zotero displays citation keys in the item details pane. Select a reference in your Zotero library and look for the citation key field, which appears when you have the Better BibTeX plugin installed or when you have configured citation key display in Zotero preferences.

Without the Better BibTeX plugin, standard Zotero generates citation keys during export based on your preferences. You can view these keys by opening the exported .bib file in a text editor and reading the first line of each entry, which contains the key after the opening brace.

### Managing Multiple Citations

For multiple citations in one bracket, separate keys with commas: `\cite{smith2023,jones2022,williams2021}`. LaTeX formats these according to your bibliography style, typically as a single bracketed group.

### Citing Without Author Names in Text

Use `\citep` and `\citet` commands if you load the natbib package. These commands produce parenthetical citations and textual citations respectively. For example, `\citet{smith2023}` produces "Smith (2023)" while `\citep{smith2023}` produces "(Smith, 2023)".

## The Zotero Plugin for LaTeX Editors

Zotero offers plugins for word processors, but the Overleaf integration does not use these plugins directly. The Zotero plugin for Firefox and LibreOffice works with those applications, not with Overleaf. For Overleaf, the BibTeX export workflow is the standard method.

### Better BibTeX Plugin for Zotero

The Better BibTeX plugin extends Zotero with enhanced citation key generation and BibTeX export features. This plugin is not an official Zotero product but is widely used in the academic community. It provides more control over citation key formats and can export citation keys that remain stable across library changes.

Researchers who frequently use LaTeX often install Better BibTeX because it simplifies the export process. The plugin adds a Better BibTeX export option to Zotero and allows you to customize citation key patterns. It also supports automatic export to a specified folder, which can streamline the workflow for users who maintain local LaTeX projects.

### Limitations of the Plugin Approach

The Better BibTeX plugin does not provide live synchronization with Overleaf. You still need to upload the exported .bib file to Overleaf manually. The plugin reduces friction by automating the export step, but the upload step remains manual.

For researchers who need automatic synchronization, consider using a cloud storage service that syncs a local folder with Overleaf. Overleaf supports syncing with Dropbox for premium accounts. You can configure Better BibTeX to export to a Dropbox folder that Overleaf accesses, creating a semi-automated workflow.

## At a Glance: Zotero and Overleaf Integration Methods

| Method | Setup Effort | Synchronization | Best For |
|--------|-------------|-----------------|----------|
| Manual BibTeX Export | Low | Manual upload each time | Occasional LaTeX users, single manuscripts |
| Better BibTeX with Auto Export | Medium | Automatic export, manual upload | Regular LaTeX users with local projects |
| Dropbox Sync with Overleaf | Medium | Automatic file sync | Premium Overleaf users needing frequent updates |

Each method has tradeoffs. The manual export approach requires minimal setup and works for any Overleaf account. The Better BibTeX plugin adds convenience but requires installation and configuration. Dropbox sync requires an Overleaf premium subscription and a Dropbox account.

## Practical Workflow for Manuscript Preparation

A consistent workflow reduces errors and saves time during manuscript preparation. The following sequence works for most research writing projects.

### Initial Project Setup

1. Create a Zotero collection for your manuscript.
2. Add all references you expect to cite to this collection.
3. Verify metadata for each reference.
4. Export the collection to BibTeX format.
5. Create a new Overleaf project or open an existing one.
6. Upload the .bib file to the project.
7. Add the bibliography commands to your main .tex file.

### During Writing

1. Write your manuscript in Overleaf.
2. Add `\cite{key}` commands as you reference sources.
3. Compile the document to check that citations resolve.
4. Review compilation warnings for undefined citations.

### Before Submission

1. Export the final Zotero collection to BibTeX again to capture any references added during writing.
2. Upload the updated .bib file to Overleaf.
3. Compile the document and verify all citations appear in the bibliography.
4. Check that the bibliography format matches the target journal requirements.

## Common Failure Patterns and Troubleshooting

Several issues commonly arise when integrating Zotero with Overleaf. Understanding these patterns helps you diagnose and fix problems quickly.

### Undefined Citation Warnings

When LaTeX reports undefined citations, the citation key in your document does not match any entry in the .bib file. Check the spelling of the citation key in your document against the key in the .bib file. Common causes include typos, case sensitivity differences, and keys that changed after re-exporting from Zotero.

### Missing Bibliography Entries

If the bibliography appears empty or incomplete, the `\bibliography` command may reference the wrong file name, or the .bib file may not be uploaded to the project. Verify that the file name in the `\bibliography` command matches the uploaded file exactly, including case.

### Duplicate Citation Keys

Zotero can generate duplicate keys when two references have the same author and year. LaTeX will use the first matching entry and may produce incorrect citations. Review your .bib file for duplicate keys and modify one of them manually in the .bib file or adjust the Zotero citation key settings.

### Encoding Issues

Special characters in author names or titles can cause compilation errors. Zotero exports Unicode characters that may not compile correctly with certain LaTeX engines. Use the pdfLaTeX compiler with appropriate packages, or switch to XeLaTeX or LuaLaTeX which handle Unicode more gracefully.

### Outdated BibTeX File

If you add references to your Zotero collection after exporting, the .bib file in Overleaf does not automatically update. Re-export the collection and upload the new file. Failing to do this results in undefined citations for newly added references.

## Records and Measurements for Citation Management

Maintaining records of your citation workflow helps ensure consistency across projects and simplifies troubleshooting.

### Citation Key Log

Keep a spreadsheet or document listing each citation key used in your manuscript and the corresponding reference. This log helps you verify that all in-text citations have matching bibliography entries before submission.

### Export Version Tracking

Record the date of each BibTeX export and the number of references in the collection. This tracking helps you identify when the .bib file became outdated and which version corresponds to each manuscript draft.

### Compilation Log Review

Overleaf provides compilation logs that show warnings and errors. Review these logs after each build. Pay particular attention to warnings about undefined citations and multiply defined citations. Address these issues before proceeding with writing.

## Quality Controls for Citation Accuracy

Citation accuracy is a core component of research integrity. Errors in citations can misattribute findings and undermine the credibility of your work.

### Verification Steps Before Submission

1. Compare the reference list against your Zotero collection to confirm all cited works appear.
2. Verify that author names, publication years, journal names, and page numbers match the original sources.
3. Check that the citation style matches the target journal or publication requirements.
4. Confirm that no references are cited in the text but missing from the bibliography.

### Using Reporting Guidelines

Reporting guidelines help ensure that your manuscript includes all necessary information for readers and reviewers. The EQUATOR Network provides a comprehensive library of reporting guidelines for various study types. Selecting the appropriate guideline for your research design improves the completeness and transparency of your reporting.

For studies involving human or animal subjects, consult the relevant reporting guideline before finalizing your manuscript. These guidelines often specify how to report methodological details, which may affect how you cite supporting literature.

## Research Integrity and Publication Ethics

Proper citation management supports research integrity by ensuring that sources are accurately attributed. The Committee on Publication Ethics outlines core practices for authors, including transparency in reporting and proper attribution of others' work.

### Authorship and Attribution

Accurate citations are part of responsible authorship. When you cite a source, you attribute specific ideas or findings to their originators. Incorrect citations can misrepresent the literature and lead to errors in the scientific record.

### Data Management Considerations

Research data management policies may affect how you document your sources. The NIH Data Management and Sharing Policy requires researchers to describe how they will manage and share data generated from NIH-funded research. While this policy focuses on data instead of citations, maintaining organized reference records supports the broader goal of research transparency.

### Researcher Identity and ORCID

Maintaining an accurate researcher profile supports proper attribution of your work. ORCID provides a persistent digital identifier that distinguishes you from other researchers with similar names. Linking your ORCID to your publications ensures that your work is correctly attributed to you.

When preparing manuscripts, include your ORCID identifier in the author information if the journal requests it. This practice connects your publications to your researcher profile and facilitates accurate citation of your work.

## Limitations of the Zotero Overleaf Workflow

The BibTeX export workflow has limitations that researchers should understand before committing to this approach.

### No Real-Time Synchronization

The most significant limitation is the lack of real-time synchronization between Zotero and Overleaf. Every change to your Zotero library requires a manual re-export and re-upload to reflect in Overleaf. This limitation is acceptable for most writing workflows but becomes cumbersome during intensive revision periods.

### Formatting Differences

BibTeX export from Zotero may not preserve all formatting details from the original source. Some fields, particularly those with special characters or complex formatting, may require manual adjustment in the .bib file. Review the exported file before relying on it for your bibliography.

### Style Compatibility

Not all citation styles are available in LaTeX. While most common styles have BibTeX style files, some journal-specific formats may require custom style files or manual formatting. Check the target journal's LaTeX requirements before finalizing your bibliography.

### Learning Curve

Researchers new to LaTeX may find the citation workflow unfamiliar. The need to manage citation keys, compile documents, and troubleshoot errors adds complexity compared to word processors with integrated citation tools. However, the investment in learning this workflow pays off for researchers who regularly submit to LaTeX-required journals.

## Professional Escalation Criteria

Some citation issues require assistance beyond basic troubleshooting. Recognize when to seek help from institutional resources or technical support.

### When to Contact Overleaf Support

Contact Overleaf support if you experience persistent compilation errors that you cannot resolve, if the platform itself malfunctions, or if you need assistance with premium features such as Dropbox synchronization.

### When to Consult Institutional Librarians

Librarians can help with citation style questions, reference verification, and guidance on using Zotero effectively. If you are unsure whether your citations meet journal requirements, consult a librarian before submission.

### When to Seek Statistical or Methodological Review

If citation issues stem from uncertainty about which sources to cite for specific methodological claims, consult a colleague with relevant expertise or a methodological consultant. Accurate citation of methods is essential for reproducibility.

## Frequently Asked Questions

### How do I export my Zotero library to BibTeX for Overleaf?

Right-click your Zotero collection or library, select Export Collection or Export Library, choose BibTeX as the format, and save the file. Then upload the .bib file to your Overleaf project and reference it with the `\bibliography` command in your LaTeX document.

### Does Zotero sync automatically with Overleaf?

No automatic synchronization exists between Zotero and Overleaf. You must manually export your Zotero collection to BibTeX and upload the file to Overleaf. The Better BibTeX plugin can automate the export step, but the upload to Overleaf remains manual.

### What is the Better BibTeX plugin and do I need it?

Better BibTeX is a community plugin for Zotero that improves citation key generation and BibTeX export. It is useful for LaTeX users who want stable, customizable citation keys and automated export options. It is not required for basic Zotero and Overleaf integration.

### Why does my citation show as undefined in Overleaf?

An undefined citation means the citation key in your LaTeX document does not match any entry in your .bib file. Check the spelling and case of the key, verify the .bib file is uploaded, and confirm the `\bibliography` command references the correct file name.

### How do I update my bibliography after adding new references in Zotero?

Re-export the relevant Zotero collection to BibTeX and upload the new .bib file to Overleaf, replacing the old one. Then recompile your document. The updated file must be uploaded before compilation for new citations to resolve.

### Can I use the Zotero Word Plugin with Overleaf?

No, the Zotero plugin for Word works only with Microsoft Word. Overleaf uses LaTeX, which requires the BibTeX export workflow. The Zotero plugin for LibreOffice also does not integrate with Overleaf.

### What citation styles can I use with Overleaf and Zotero?

Overleaf supports any BibTeX style file. Common styles include plain, unsrt, abbrv, and numerous journal-specific styles. Check your target journal for the required style and select the corresponding `\bibliographystyle` command.

### How do I handle special characters in my bibliography?

Special characters in author names or titles can cause LaTeX compilation errors. Use XeLaTeX or LuaLaTeX compilers in Overleaf for better Unicode support, or escape special characters in the .bib file using LaTeX syntax.

## Using the Evidence

| Source | Best use in this topic | Important limitation |
|---|---|---|
| [Research Methods Resources](https://www.ncbi.nlm.nih.gov/books) | official guidance | Check the linked page for current local requirements |
| [EQUATOR Network](https://www.equator-network.org/) | official guidance | Check the linked page for current local requirements |
| [Core Practices](https://publicationethics.org/core-practices) | official guidance | Check the linked page for current local requirements |

## Related Articles

- [The Role of the Research Ethics Committee: What Researchers Need to Know](/blog/guides/the-role-of-the-research-ethics-committee-what-researchers-need-to-know)
- [Genomic Library](/blog/guides/genomic-library)
- [T-Test vs. Paired T-Test: When to Use Each](/blog/guides/t-test-vs-paired-t-test-when-to-use-each)
- [Welch's t-Test: When and How to Use It](/blog/guides/welch-s-t-test-when-and-how-to-use-it)
- [Single Cell Batch Integration](/blog/guides/single-cell-batch-integration)

## References and Further Reading

- [Research Methods Resources](https://www.ncbi.nlm.nih.gov/books). National Library of Medicine.
- [EQUATOR Network](https://www.equator-network.org/). EQUATOR Network.
- [Core Practices](https://publicationethics.org/core-practices). Committee on Publication Ethics.
- [NIH Grants and Funding](https://grants.nih.gov/). National Institutes of Health.
- [ORCID for Researchers](https://info.orcid.org/researchers). ORCID.
- [Data Management and Sharing Policy](https://sharing.nih.gov/data-management-and-sharing-policy). National Institutes of Health.
- [NCBI Literature Resources](https://www.ncbi.nlm.nih.gov/). National Center for Biotechnology Information.
- [PubMed](https://pubmed.ncbi.nlm.nih.gov/). National Library of Medicine.

> This article is educational and does not replace institutional policy, professional advice, or applicable safety and regulatory requirements.