1 Click Directory Builder

Email support@1clickdirectorybuilder.com

Data Outscraper, Apify or any scraper

Builds US local directory websites

Website 1clickdirectorybuilder.com

Local Directory Guides by 1 Click Directory Builder

How to Clean a Google Maps Export Before Building a Directory

Laptop showing a large spreadsheet next to a printed map with pins

A raw Google Maps export looks finished at first glance. Thousands of rows, each with a business name, an address and a phone number. Then you start scrolling and the problems show up: the same business three times, a few that closed last year, a hardware store in your plumber list and a dentist whose address is two states away.

None of this is unusual. Scraped data reflects what Google Maps shows for a search, and searches overlap, drift across borders and catch businesses that only loosely match. Cleaning the file before you build saves you from publishing those mistakes on hundreds of city pages. This guide walks through the cleanup in the order we do it.

Cleanup order that works

  • Combine every search into one file
  • Remove duplicates by place ID
  • Decide what to do with closed businesses
  • Review categories and drop strays
  • Check locations against the area you cover
  • Flag missing phones, websites and hours

Combine searches first

Most directories need several searches: one per category, sometimes one per city or county. Outscraper, Apify and other scrapers each export a file per search or per batch. Put them all into one spreadsheet before cleaning, with the same columns in the same order.

Column names differ between tools. One export might call it “phone” and another “phone_number”. Rename columns so they match before you merge, or you’ll end up with half your phone numbers in an empty column.

Remove duplicates by place ID

Overlapping searches return the same business more than once. A shop that is both a “mechanic” and an “auto repair shop” on Google shows up in both searches, and a business near a city line shows up in both cities.

Most exports include a unique place identifier from Google. That is the safest field to deduplicate on, because two different businesses can share a name and some businesses share an address in the same building. Keep the row with the most complete details when you remove a duplicate.

If your export has no ID column, combine name, street address and phone number into one key and deduplicate on that. Expect a few near-duplicates that need a manual look, such as “Smith Plumbing” and “Smith Plumbing LLC”.

Deal with closed businesses

Exports usually include a business status field. Values like permanently closed or temporarily closed tell you which listings to remove or mark. Publishing permanently closed businesses as if they are open is one of the fastest ways to lose a visitor’s trust.

Temporarily closed listings are a judgment call. Some will reopen within weeks, others never will. Leaving them in with a clear note is usually better than dropping them, then checking again at your next refresh.

Aerial view of a town street grid at dusk
Illustration

Review categories

Every niche has strays. A search for “dog groomer” can return pet stores that offer grooming, veterinary clinics and even a dog park. Sort the category column and scroll through it. Remove businesses that clearly don’t belong, and decide which related categories you want to keep.

This is also when you decide what your filters will be. Group close categories together, such as “plumber” and “plumbing service”, so your directory shows one clean filter instead of five near-identical ones. Our guide to running a directory as a business covers how category choices affect which businesses you can later approach.

Check locations

Search results drift. A search for businesses in one city returns some from the next town over, and occasionally a listing with a wrong or incomplete address. Sort by state, then by city, and look for anything outside the area you plan to cover.

If your export has latitude and longitude, plot a sample on a free online map tool. Points far outside your area stand out right away. Listings with a city name that doesn’t match their postal code usually need a manual check.

Flag missing details

Not every listing has a phone number, website or opening hours. You don’t have to remove them, but you should know how many there are. A city page where half the listings have no phone number feels thin to visitors.

For outreach, missing contact details matter even more. Count how many businesses you can actually reach before you plan an email or call campaign.

Questions about cleaning Google Maps data

Is it legal to use scraped Google Maps data in a directory?

Business names, addresses and phone numbers are facts that businesses publish so customers can find them, and directories have listed them for decades. Terms of service for Google and for your scraping tool still apply, and rules differ by country. Read the terms of the tools you use and get legal advice if your use is unusual.

How often should I refresh the data?

Every few months suits most niches. Businesses open, close, move and change phone numbers all the time, and a refresh with the same searches catches most of those changes.

Should I keep businesses with no reviews?

Usually yes. New businesses often have few or no reviews, and they are frequently the most interested in getting listed and found.

Google Maps Data for Directories is published by 1 Click Directory Builder, a tool that turns a Google Maps export from Outscraper, Apify or any scraper into a complete local directory site, with duplicate removal and data checks built into the upload.


This guide is part of Google Maps Data for Directories, a series from 1 Click Directory Builder on scraping, cleaning and refreshing listing data.

1 Click Directory Builder · support@1clickdirectorybuilder.com · Turns a Google Maps export from Outscraper, Apify or any scraper into a complete local directory site · 1clickdirectorybuilder.com

Create your own website, free on WordPress.com.Create your own website.
Start free