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
- In P6, export the project as XER (File, Export, Primavera PM XER), or use the file you were sent.
- Open it on the tool page.
- Press Download for Microsoft Project (.xml). Tick "write activity code descriptions too" if you want codes written as "CON - Construction".
- In Microsoft Project: File, Open, choose XML Format, select the file. ProjectLibre and GanttProject open the same file.
- 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
| P6 | Microsoft Project |
|---|---|
| WBS | Summary tasks, in P6's order |
| Activity ID | Text1, named "Activity ID" |
| Calendars, holidays, changed days | Calendars with the same working week and exceptions |
| FS, SS, FF, SF and lags | The 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 duration | Actual dates, remaining work restarting where P6 has it |
| Planned dates | Baseline 0 |
| Resources and assignments | Resources and assignments with hours and cost |
| Activity codes | Text2 to Text30, named after each code type (the 29 most used if there are more) |
| Activity, resource and WBS UDFs | Number, 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 effort | Manually scheduled tasks on their P6 dates; their links listed in the task notes |
| Activity and WBS notebooks | Task notes, one [Topic] heading per notebook topic, as plain text; read back as notebook entries |
| Resource notes | The 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
- Lag calendar. Project counts a lag on the successor's calendar; P6 can use the predecessor's, the successor's or a 24-hour calendar.
- Milestones. Project puts a milestone with a predecessor at that predecessor's finish time.
- Level of effort. Project has no equivalent, so these become manually scheduled tasks that keep P6's dates.
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
- How to convert a P6 XML file to XER
- How to find redundant logic in a P6 schedule
- How to run a DCMA 14-point schedule assessment, check by check
- How to open an XER file without Primavera P6
- How to convert a Primavera P6 XER file to Excel
- How to review a contractor's monthly P6 schedule update
- How to write a monthly construction schedule narrative
- How to find critical path drag in a P6 schedule
- How to assess a schedule against the GAO Schedule Assessment Guide
- How to run a collapsed as-built delay analysis
- How to run a time impact analysis on a P6 schedule
- How to run a Monte Carlo schedule risk analysis on a P6 schedule
- How to run an as-planned vs as-built schedule analysis
- How to split concurrent delay between owner and contractor
- How to review the calendars in a P6 schedule
- How to check a P6 schedule against the contract specification
- How to break down a DCMA assessment by subcontractor or WBS