Postcode distance calculator

How this works

1. All the postcodes are simultaneously sent to Mapbox API, associated co-ordinates are received in reply

2. Rudimentary mathematics is run on each set of co-ordinates (Pythagoras)

3. The output is formatted as CSV for sorting with spreadsheet software etc.

Privacy notice: with the exception of postcode conversion, all data processing is done solely on the computer running this website, via client-side Javascript engines available within any modern web browser.

Javascript by Thomas. Framework by Vue.js v3.2.47.


Origins:

Note: max postcode to co-ordinates conversions per minute is 600 (Mapbox API)

Destinations:

Note: please only 1 comma (,) per line else the name will be cut short

Loading part #1: Finding co-ordinates of postcodes...

Loading part #2: Finding distances between source and destination co-ordinates...

Loading part #3: Sorting and formatting data...

Final CSV:

Note: the order will accurate, but the metre measurements are an approximation!

Raw data structures JSON: