← XER Schedule Check

How to convert a P6 XER file to Microsoft Project

To move a Primavera P6 schedule into Microsoft Project, convert the .xer to Microsoft Project XML (MSPDI) and open that file in Project with File, Open. The free tool here does the conversion in your browser: WBS, activities, calendars, logic, constraints, progress, baseline, resources, activity codes and user-defined fields carry across. Project then recalculates with its own rules, so a few dates can move, and the tool lists which rules apply to your file.

Open the free schedule check (open the XER, then press Download for Microsoft Project (.xml))

Steps

  1. In P6, export the project as XER (File, Export, Primavera PM XER), or use the file you were sent.
  2. Open it on the tool page.
  3. Press Download for Microsoft Project (.xml). Tick "write activity code descriptions too" if you want codes written as "CON - Construction".
  4. In Microsoft Project: File, Open, choose XML Format, select the file. ProjectLibre and GanttProject open the same file.
  5. Read the tool's list of what Project will treat differently for this file, and check those activities after Project recalculates.

What maps to what

P6Microsoft Project
WBSSummary tasks, in P6's order
Activity IDText1, named "Activity ID"
Calendars, holidays, changed daysCalendars with the same working week and exceptions
FS, SS, FF, SF and lagsThe same link types and lags
Start on, start on or after, finish on or before, ...Must start on, start no earlier than, finish no later than, ...
Actual dates, remaining durationActual dates, remaining work restarting where P6 has it
Planned datesBaseline 0
Resources and assignmentsResources and assignments with hours and cost
Activity codesText2 to Text30, named after each code type (the 29 most used if there are more)
Activity, resource and WBS UDFsNumber, Cost, Date and Text fields
Expenses (with cost category and accrual)Cost resources (category as Group, accrual as Accrue At), one assignment per expense with cost, actual cost and baseline cost; vendor, PO and quantity in the assignment notes
Level of effortManually scheduled tasks on their P6 dates; their links listed in the task notes
Activity and WBS notebooksTask notes, one [Topic] heading per notebook topic, as plain text; read back as notebook entries
Resource notesThe resource's notes, as plain text; read back as P6 resource notes
Resource curves (Back Loaded, Bell Shaped, your own)The assignment's work written out day by day in the curve's shape (contour "Contoured"), so Project's resource usage shows the same peaks; an assignment already started keeps its remaining work even
Resource hierarchy (parent resources)The resource's Group: its parents' resource IDs from the top, such as LAB/CARP, so you can group the resource sheet by trade; read back as the same tree in P6

How it was tested

On six public P6 files (21,422 activities, 54,843 relationships) every activity and relationship read back unchanged after conversion, and MPXJ, an independent open-source reader, read the same names, dates, durations, progress, logic and resource hours from the XER and from the converted file. On four of those files, 276,042 of 276,042 activity code values written read back to the same value. Details are in the project's eval/ notes.

Why some dates move in Project

The reverse direction works too: open a Microsoft Project .xml file on the tool page and download a P6 XER.

Questions

Can Microsoft Project open an XER file directly?

Current versions do not import XER. Convert it to Microsoft Project XML first, then open the .xml with File, Open.

Will the critical path be the same in Project?

Mostly, but Project schedules with its own rules: lags count on the successor's calendar and a milestone with a predecessor sits at that predecessor's finish. The tool lists which of these apply to your file so you know where to look.

Can I convert a Microsoft Project file to XER?

Yes. Save the .mpp as XML in Project (File, Save As, XML Format), open the .xml on the tool page and download the XER. The .mpp format itself is not read.

Is the file uploaded for conversion?

No. The conversion runs in your browser tab, and the converted file is produced on your computer.

More guides