Geocoder.ca

Note: We use Web Mercator, also known as Google Web Mercator, Spherical Mercator, WGS 84 Web Mercator or WGS 84/Pseudo-Mercator. Are you a non-for-profit? If Yes, the postal code dataset is free if you abide by our Terms and Conditions. Send us an email at [email protected].

Geocoder.ca provides geocoding, batch geocoding and geoparsing services for Canada and the USA, free of charge to the users of this website.
The following conditions apply to all looking for free access of the XML/JSON/CSV port or data products.

  1. Such an entity must be a non-for-profit.
  2. And provide proper attribution for the service.
...

Premium Canada Postal Code Datasets

This form creates a data account — for purchasing data products only. If you need an API account for geocoding API access, click here.

Register to purchase data products

Create a data account to download the Canadian Postal Code Dataset and other data products.

This registration will create your account on our system. You can use the account authentication token to access the premium geocoding port API. Access to this resource costs 1 cent for every 4 lookups. For more information read the premium xml/json/csv port API docs, batch geocoding examples, batch data cleanup and standardization examples, and the Terms of Service.

Data product Canadian crowdsourced postal codes geocoded dataset

We offer some of our data as a batch download for those wishing to build commercial location-based applications. One example of our batch products is our geocoded Canadian postal code database, comprised of the postal code file, the postal code and street address file, and the postal code area polygons file.

How it is done

Our Canadian crowdsourced postal code dataset contains over 850,000 postal codes. (As of the last update on 2026-08-01 00:15:01, 1349 records were added, and the exact number is 928826 unique postal codes, all verified and geocoded to street-level accuracy.)

Each postal code in fact covers an "area." This area could be as small as a single house or city block, or as large as a whole town. Finding the most accurate geographical representation of this postal code involves finding the point having the smallest relative distance from all locations included in the postal code area — also called the geodesic point. (Normally this area is approximated to a convex hull, but it could also be a non-convex shape.) We have built a system that computes this central location with a large degree of accuracy.

The Canadian postal codes dataset we offer can be adjusted according to the customer's needs to include additional information about the city, streets, and other geographical features related to any of the postal codes, in addition to the relevant latitude/longitude information. Contact us for information about obtaining a customized Canadian postal code database. We also offer regular monthly updates of this database.

Data samples

1. Summary file — Canada Postal Code Dataset sample:

"PostCode","Latitude","Longitude","City","Province","CityAlt","Neighborhood","Time Zone","Name","Area Code"

"G1A1A3","46.808643","-71.215256","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1A4","46.808643","-71.215256","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1A5","46.808142","-71.214923","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1A8","46.817426","-71.212300","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1A9","46.817611","-71.212510","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1B4","46.809317","-71.216464","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1B5","46.811087","-71.214564","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1B7","46.817037","-71.211242","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1B8","46.817038","-71.211242","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1B9","46.817039","-71.211242","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"
"G1A1C1","46.817040","-71.211242","Québec","QC","Quebec","Vieux-Quebec","UTC-05:00","America/Montreal","581"

...

2. Complete file — Canada Postal Address Database (14063577 records as of 2026-08-03 16:02:06) sample:

"PostCode","Number","Street","City","Province","Latitude","Longitude","Street Name","Type","Direction","Confidence","Type","Unit"

...
"K2C1N2","1295","PRINCE OF WALES DR","OTTAWA","ON","45.371634","-75.706800","PRINCE OF WALES","DR","","1","NonResidential",""
"K2C1N2","1301","PRINCE OF WALES DR","Ottawa","ON","45.371697","-75.706074","PRINCE OF WALES","DR","","1","NonResidential",""
"K2C1N2","1315","PRINCE OF WALES DR","Ottawa","ON","45.371510","-75.705080","PRINCE OF WALES","DR","","1","NonResidential",""
"K2C1N5","1345","Prince of Wales DR","Ottawa","ON","45.370619","-75.704134","Prince of Wales","DR","","0.9","Residential",""
"K2C1N5","1435","PRINCE OF WALES DR","Ottawa","ON","45.369154","-75.700748","PRINCE OF WALES","DR","","1","Residential","916"
...

"Confidence" is the geocoding confidence score. A score of "1" means a "rooftop" geocoding result; everything else is interpolated.

3. Canada Postal Code Polygons sample:

Tessellated postal code polygons — no gaps, no overlaps

Polygons are delivered as a mutually-exclusive tessellation — no gaps and no overlaps between adjacent postal code areas. Click here for an example polygon.

Point id,PostCode,Latitude,Longitude

1,V3S5R4,49.142078,-122.808252
2,V3S5R4,49.142077,-122.807498
3,V3S5R4,49.141087,-122.807502
4,V3S5R4,49.141088,-122.808050
5,V3S5R4,49.141763,-122.808047
6,V3S5R4,49.141763,-122.808185
7,V3S5R4,49.141718,-122.808185
8,V3S5R4,49.141718,-122.808253
9,V3S5R4,49.141808,-122.808253
10,V3S5R4,49.141809,-122.808459
11,V3S5R4,49.142033,-122.808458
12,V3S5R4,49.142033,-122.808252
13,V3S5R4,49.142078,-122.808252
...

4. Postal Code and Census Information File sample:

"PostCode","Latitude","Longitude","City","Province","CityAlt","Neighborhood","Time Zone","Name","Area Code","Census_Subdivision_cmauid", ... (many census fields) ...

"K2C1N5","45.370316","-75.701609","Ottawa","ON","Ottawa","Carleton Heights - Rideauview","UTC-05:00","","","505","35","Ottawa", ... 

Optional downloads: Neighborhood Polygons, City Polygons for both USA and Canada (derived from the postal code dataset).

$998 CAD
Register to purchase the Canadian Postal Code Dataset

Immediate download upon purchase. Unrestricted use license.

Output format

https://geocoder.ca/?locate=

API access

For developers & applications

One HTTPS endpoint for forward, reverse, postal, geoparse and autocomplete. Returns XML, JSON, JSONP or CSV. Reading your first result in minutes.

✓ Forward, reverse & postal lookups
✓ Batch tools, polygons, census enrichment
✓ Pay-as-you-go or subscription

Create an API account Read the docs →

Data products

For teams who want the dataset

License the Canadian & U.S. address and postal database. Run it on your own servers with no per-call billing and no caching restrictions — the data is yours.

✓ Downloadable address & postal data
✓ Self-hosted, offline-capable
✓ Flat, predictable cost

Create a data account See pricing →

What it does

One endpoint, the full toolkit

Everything in the examples, grouped by what you'd actually reach for.

Forward

Address, postal/ZIP or intersection → coordinates.

Reverse

Latitude, longitude → nearest address & corner.

Postal / ZIP

Full 6-character Canadian postal & US ZIP+4 lookup.

Autocomplete

As-you-type suggestions. Demo →

Geoparse

Pull locations out of free text. Try it →

Batch & polygons

batchpostal, showaddrs, postal-in-polygon, getpolygon.

Places (POIs)

Nearest points of interest with reverse lookups.

Census data

Enrich results with StatsCan census attributes.

Run it your way

Hosted, on AWS, or fully in-house

The same geocoder, wherever your data needs to live.

☁️

Hosted API

Call geocoder.ca directly. Nothing to run, scales with you.
API docs →

🟧

AWS Marketplace

Launch your own Geocoder.ca server as an AMI in your AWS account.
Get the AMI →

🗄️

Local database

License the dataset and run it entirely on your own infrastructure.
Data products →

More from Geolytica

Need wider coverage?

Geocoder.ca covers North America. Its sister services go global.