location / waypoint export

what is the best way to export or save a list of location/waypoint.

I would prefer to get a GPX file format if possible.

thanks