MedlinePlus XML Files

To use the sharing features on this page, please enable JavaScript.

MedlinePlus produces XML data sets that you are welcome to download and use. If you have questions about the MedlinePlus XML files, please contact us. For additional sources of MedlinePlus data in XML format, visit our Web service page, or see our XML data sources handout.

If you use data from MedlinePlus XML files or build an interface that utilizes the files, please indicate that the information is from
MedlinePlus.gov. Please see NLM’s API page for further guidance. To receive notification when MedlinePlus releases enhancements to
its XML files or updates the documentation, sign up for our XML file email updates:

Health Topics

The six most recent files and their corresponding DTDs are linked at the bottom of this section.

The MedlinePlus health topic XML files contain records for all English and
Spanish health topics. Each health topic record includes data elements
associated with that topic. This associated data includes:

all site records (links) assigned to a health topic page, including their names, URLs, organizations, category assignments, and standard descriptions.

These XML files allow you to download and use virtually all text and links that appear on MedlinePlus health topic pages. For complete details on all elements and attributes in the MedlinePlus health topic XML, see the MedlinePlus XML file description.

The MedlinePlus Compressed Health Topic XML contains the same information as the MedlinePlus Health Topic XML, but it is posted as a .zip file for easier downloading.

The MedlinePlus health topic group XML files contain information on all English and Spanish topic groups.