MPLAB X - Read and Export Hex File
Try this link:
http://microchip.wikidot.com/mplab:how-to-read-a-device-and-save-the-hex-file

The description reads:


  From the main toolbar, click on the small downward pointing triangle on the right edge of the Read Device button. A drop down menu will appear. Select Read Device Memory to File…. You will be prompted for a location to save the hex file.


Here is a more general help link for MPLAB-X:
http://microchip.wikidot.com/mplab:_start