You can also directly use the Google API, which outputs your data into either JSON or XML format. You also see the location on a Google map. You can only input up to 2,500 geolocation requests per day. But, the average person is going to request a lot fewer than this. To Use this API, follow the below directions:
1. Submit your API request in one of the following forms: http://maps.googleapis.com/maps/api/geocode/output?parameters or https://maps.googleapis.com/maps/api/geocode/output?parameters.
2. The output parameter must be either JSON or XML.
3. You must define the URL parameters. If you want to convert an address into a GPS coordinate, input the address. If you want to convert a longitude or latitude into a GPS coordinate, input those parameters.
4. You must tell the API whether the request originates from a GPS device that has a location sensor. Indicate either “False" or “True".
You can also add optional information like region code, language and bounds. The bounds helps bias the results.
The Google API will process the request and output the results in the requested format. You can either immediately open the results or save them to your device or desktop. If the API returns no results, you’ll still see that in the requested format.
There are other ways to convert an address to GPS coordinates. But, start with the free programs, and see if you can get what you need from these programs. They are easy to use and completely free.