How to Combine GPX Files

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
A person sits in a car and uses a GPS device
Image Credit: AndreyPopov/iStock/Getty Images

GPX, or GPS Exchange Format, is the file extension used by many GPS devices to save information you wish to share with other GPS capable devices that do not use the same software. It is essentially an XML file that is written in an open-source language that anyone may write a program for. That being the case, several GPX files may be combined into a single file with the Notepad program.


Step 1

Right-click on one of the GPX files you wish to combine. Select "Open With" in the contextual menu and choose "Notepad." Repeat this step with the second GPX file.

Video of the Day

Step 2

Click on the Notepad window with the first GPX file. Click the "File" menu and choose "Save As." Name the new file "Combined" or something similar to distinguish it as the file that contains all of the information. Choose "All files" as the file type and "Unicode" as the encoding format. Click the "Save" button.


Step 3

Scroll through the Notepad document and locate the text "" (without the quotes). It is usually on the first line of the document. Scroll through the document and locate "" (without the quotes). It is usually on the last line of the document.

Step 4

Hold down the left mouse button and drag to highlight all of the text between the ">" character of "" and the "<" character of "."



Step 5

Click the "Edit" menu and select "Copy."

Step 6

Click on the Notepad window with the file you named "Combined" or similar. Click on the space just before the "<" character of "" on the last line of the document. Press the "Enter" key on your keyboard to make a new line.


Step 7

Click the "Edit" menu and select "Paste." Repeat the copy and paste procedure for each GPX file you wish to combine. Choose "Save" from the "File" menu when all of the GPX file contents have been copied to the "Combined" file.

Video of the Day




Report an Issue

screenshot of the current page

Screenshot loading...