Convert PubMed .nbib to CSV

To convert NBIB to CSV, choose the .nbib file from PubMed and download the CSV. Each PubMed record becomes one row, with the abstract, the DOI, the PMID and the MeSH headings in their own columns, ready to sort and filter in Excel.

Updated

Runs in your browser. Files are read on your device and never uploaded. Only if you fetch PubMed IDs are those IDs sent, to NCBI.

Getting an .nbib file from PubMed

  • Run your search in PubMed, then tick the records you want, or tick none to take them all.
  • Choose Send to, then Citation Manager, and confirm the selection: the PubMed User Guide allows up to 10,000 results.
  • Click Create file. Your browser saves an .nbib file. For one article, the Cite button also downloads an .nbib file.

PubMed’s Save button also offers CSV directly. Use this converter when you already have an .nbib file, or when you want the same columns as the files you convert from other databases, so they line up in one spreadsheet.

Field mapping: PubMed .nbib to CSV

Where each field comes from in PubMed .nbib and goes to in CSV.

  • Title

    From PubMed .nbib
    TI
    To CSV
    Title
  • Authors

    From PubMed .nbib
    FAU (full names), or AU, with CN for a group
    To CSV
    Authors, separated by semicolons
  • Year

    From PubMed .nbib
    DP
    To CSV
    Year
  • Journal

    From PubMed .nbib
    JT, or TA
    To CSV
    Journal
  • Volume and issue

    From PubMed .nbib
    VI, IP
    To CSV
    Volume, Issue
  • Pages

    From PubMed .nbib
    PG
    To CSV
    Pages
  • DOI

    From PubMed .nbib
    LID or AID marked [doi]
    To CSV
    DOI
  • PMID

    From PubMed .nbib
    PMID
    To CSV
    PMID
  • Abstract

    From PubMed .nbib
    AB
    To CSV
    Abstract
  • Keywords

    From PubMed .nbib
    MH (MeSH) and OT
    To CSV
    Keywords, separated by semicolons
  • Type

    From PubMed .nbib
    Journal article; a book or chapter if it has BTI; unpublished for a preprint
    To CSV
    Type, as a RIS code (JOUR, CHAP…)

MeSH headings (MH) and other terms (OT) go into the Keywords column, separated by semicolons. Full author names (FAU) are used where PubMed has them.

Common problems with NBIB to CSV

  • Abstracts look cut off in Excel. The PubMed User Guide warns that Excel is “typically unable to display or print more than a maximum of 1024 characters in a cell”. The whole abstract is in the file.
  • Structured abstracts run together. PubMed writes headings such as BACKGROUND: and METHODS: inside one AB field, so they stay in one cell, in order.
  • Some rows have no Journal. Books and chapters in PubMed have a book title instead; for a chapter it goes in Journal, and for a whole book the title is the book.

Screening the references instead?

OtterSR imports RIS, PubMed .nbib, CSV and EndNote XML directly, so you don’t need to convert a file before screening it there. See how it works.

How to cite this tool

OtterSR. Convert PubMed .nbib to CSV. https://www.ottersr.com/tools/ris-converter/nbib-to-csv (accessed today’s date).

Please cite the method as well:

  • PubMed User Guide. National Center for Biotechnology Information, US National Library of Medicine.

  • Patashnik O. BibTeXing. 8 February 1988. Distributed with BibTeX on CTAN.

  • Shafranovich Y. Common Format and MIME Type for Comma-Separated Values (CSV) Files. RFC 4180. Internet Engineering Task Force, October 2005.

Sources

  1. PubMed User Guide. National Center for Biotechnology Information, US National Library of Medicine. https://pubmed.ncbi.nlm.nih.gov/help/
NBIB to CSV converter: PubMed to Excel · OtterSR