> ## Documentation Index
> Fetch the complete documentation index at: https://rendzo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract

> Extract tracks or segments into separate files

The Extract tool separates multi-track files or multi-segment tracks into individual components.

## How It Works

Extract performs the opposite operation of [Merge](/docs/tools/merge):

* **Extracting from a file** → Creates a new file for each track contained in the original file
* **Extracting from a track** → Creates a new track (in the same file) for each segment contained in the original track

## Use Cases

### Splitting Multi-Activity Files

If you have a GPX file containing multiple activities (e.g., a morning ride and afternoon hike), extract them into separate files for individual analysis.

### Organizing Segments

If you have a track with multiple segments representing different sections of a route, extract them into separate tracks for easier management.

## Waypoint Handling

<Note>
  When extracting tracks from a file that contains [waypoints](/docs/tools/waypoints), the tool automatically assigns each waypoint to the track it is geographically closest to.
</Note>

This ensures your waypoints stay associated with the relevant portion of your route after extraction.
