xpay✦ Commerce
Directory
WooCommerce plugins
Address Autocomplete Anything – Google Address Autocomplete for Any Form
Address Autocomplete Anything – Google Address Autocomplete for Any Form
Google address autocomplete for any WordPress form. Pick a suggested address and the street, city, state, ZIP and country fields fill themselves.
5.0
(15 ratings)Will this break my store?
What the WordPress.org registry says about keeping Address Autocomplete Anything – Google Address Autocomplete for Any Form running.
Tested to 7.1.2
Tested against the WordPress branch in use today.11 days ago
At least 4.3 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.5.3
2
Ratings
5.0
15 ratingsAddress Autocomplete Anything adds Google’s address suggestions to any form on your WordPress site. Someone starts typing their street address, picks the right one from the list, and the rest of the address fills itself in: city, state, ZIP or postal code, and country. Your customers type less, and you get addresses spelled the way the post office spells them.
I first built it for my photography plugin, Sunshine Photo Cart, then realized it could work with anything that has an address field (hence the name). Checkout pages, donation forms, membership sign ups, booking forms and contact forms all work, because it isn’t tied to any one plugin.
See how it works on the Address Autocomplete website
Set it up by clicking your form’s fields
In the settings, choose the page with your form and click “Pick fields”. The plugin opens your form in a new tab, finds the address fields and tags each one as the street address, city, state, ZIP or country. Check the tags, click Done, and the fields show up on the settings page, ready to save. You don’t need to write any code or dig through your page’s HTML.
If your form is in a popup or on the second step of a multi-step form, pause the picker, open the popup or go to that step, then carry on picking. If you’re comfortable with CSS selectors, you can still type them in yourself. How to find your CSS selectors
Addresses that fit your form
- Only the countries you want. Limit suggestions to the countries you ship to or serve. If your form has a country dropdown, the suggestions follow whichever country the customer picks.
- Street format that matches the country. A US address fills in as “2510 Sunny Ridge Ln” and a German one as “Hauptstraße 12”, with nothing for you to set up.
- Full names or short codes. Fill a state field with “California” or “CA”, and a country field with “United States” or “US”, whichever your form expects.
- Several parts in one field. Add text before or after a value, or combine parts of the address into one field, like a single “City, State ZIP” line.
- Backups for missing data. When Google doesn’t return part of an address, choose what to use instead, like the postal town when there’s no city.
- Your language. Show suggestions in the language you choose, or match each visitor’s browser.
- Only where it’s needed. Load it only on the pages with your form, so the rest of your site doesn’t load Google’s script.
What you need
You need a Google Maps API key with the Maps JavaScript API and Places API (New) turned on. A setup wizard walks you through it the first time you turn on the plugin, and the Test key button checks your key with Google. If something is wrong, like billing that isn’t set up or an API that isn’t turned on, it tells you in plain words what to fix.
Google asks for billing details, but every account gets 10,000 free autocomplete requests a month, which is more than most sites will ever use. More on what Google charges
Address Autocomplete Premium
The free version sets up autocomplete on one form. Address Autocomplete Premium adds:
- One-click setup for 11 plugins. Turn it on for WooCommerce (classic and block checkout, billing and shipping), Gravity Forms (the Address field), Easy Digital Downloads (checkout and account page), LifterLMS, Paid Memberships Pro (billing and shipping), MemberPress, GiveWP, Charitable, Paymattic, Tutor LMS and FluentCart, with no fields to pick.
- As many forms as you need. Set it up on your checkout, your donation form and your contact form, each with its own fields and countries.
- More of Google’s data. Fill fields with the street number and street name separately, the business or place name, apartment or unit, neighborhood, sub locality, county, and latitude and longitude for maps.
Learn more about Address Autocomplete Premium
External services
Google Maps Platform. The address suggestions come from Google. On the pages you choose, the plugin loads Google’s Maps JavaScript API with your API key. As a visitor types into the address field, what they type goes to Google, which sends back matching addresses. The Test key button also sends your API key to Google to check it. Google’s terms of service and privacy policy apply.
WP Sunshine email list. The setup wizard offers to sign you up for emails about the plugin. When you click “Sign up and continue”, the plugin sends the first name and email you entered, plus your site’s time zone, to wpsunshine.com. Nothing is sent if you skip that step. See the WP Sunshine privacy policy.
With the free version, open the Instances tab, choose your checkout page and click “Pick fields” to tag the billing address fields. This works on the classic (shortcode) checkout. The WooCommerce checkout block needs a lot of extra code to fill its fields, so it’s part of Address Autocomplete Premium, which sets up billing and shipping on both checkouts with one click.
Yes. It works with any form that has a text field for the street address, including forms from Gravity Forms, WPForms, Contact Form 7, Ninja Forms, Fluent Forms, Formidable Forms and Elementor. Use “Pick fields” to tag the address fields. Premium adds one-click setup for the Gravity Forms Address field.
The plugin is free, and Google gives every account 10,000 free autocomplete requests a month. Google does ask for billing details when you create your API key, but most sites never go over the free amount.
Turn on Places API (New), along with the Maps JavaScript API. Since March 2025, Google no longer lets new projects turn on the older Places API. If your Google Cloud project already uses the older one, the plugin works with that too. The Test key button tells you which one your key works with. More on the two versions
Yes. Choose one or more countries on the Instances tab and suggestions only come from those countries. If your form has a country dropdown, the suggestions also follow whichever country the customer picks.
Google shows that icon when it can’t load address suggestions, usually because the API key is limited to other websites, an API isn’t turned on, or billing isn’t set up. Click Test key in the settings and it tells you which one. Fixing the exclamation mark
Latitude and longitude are part of Address Autocomplete Premium, along with the county, neighborhood, business name and other details Google sends back. The free version fills the country, both address lines, city, state and postal code.
The free version covers one form. Address Autocomplete Premium lets you set up as many as you need, each with its own fields, countries and pages.
Plugin details
Tags on WordPress.org
