Tidyleaf

How to autofill web forms with multiple profiles in Chrome

Chrome has no named, switchable form profiles. It can save several addresses and let you pick one per form, and each Chrome profile (the people icon at the top right) keeps its own autofill data. If you want to choose “Work”, “Home” or “Test user 3” and fill the whole page from it in one click, you need a password manager with identity entries or a form filler extension that supports several profiles. For QA test data, a short script is often better than any extension. Below are all four routes, what each handles, and where each falls short.

Option 1: Chrome’s built-in autofill (several saved addresses)

Chrome stores addresses under Settings, then Autofill and passwords, then Addresses and more. You can add as many entries as you like, each with a name, organisation, street address, phone and email.

How to use it as “profiles”:

  1. Add one address entry per identity: your home details, your work details, a family member’s.
  2. On a form, click into a field Chrome recognises, such as name or street address.
  3. Chrome shows a drop-down of your saved entries. Pick one, and Chrome fills the related fields from that entry.

Variant: one Chrome profile per identity

Each Chrome profile has its own saved addresses, passwords, history and extensions. If your “profiles” are really separate lives, such as personal and a client’s account, a separate Chrome profile for each keeps them apart completely. The cost is switching windows: you cannot fill a form in one profile’s window with another profile’s details.

Option 2: identity entries in a password manager

Many password managers can store identities (name, address, phone, email, sometimes company or date of birth) next to your logins, and offer them when you click a form field.

Option 3: a form filler extension with multiple profiles

A form filler extension reads each field’s label, placeholder, name and autocomplete hint, matches it to a value in the profile you selected, and fills the whole page at once. This is the route for named profiles you switch between, custom fields of your own, and forms Chrome’s autofill ignores.

Before you pick one, check:

Tidyleaf Form Filler

Tidyleaf Form Filler is the form filler we built. Disclosure: Tidyleaf is us, and this is our product.

Tidyleaf Form Filler is coming to the Chrome Web Store. Until it is listed, see tidyleaf.github.io.

Option 4: test data for QA

If you test web apps, “profiles” usually means a set of test users: a valid one, one with a long name, one from another country, one with an edge-case postcode. Three ways to get them:

# pip install playwright && playwright install chromium
import sys
from playwright.sync_api import sync_playwright

PROFILES = {
    "valid":   {"#name": "Ana Lopez", "#email": "ana@example.com", "#zip": "94107"},
    "longname": {"#name": "A" * 120, "#email": "long@example.com", "#zip": "94107"},
    "intl":    {"#name": "Lin Mei", "#email": "lin@example.com", "#zip": "100-0001"},
}

profile = PROFILES[sys.argv[1] if len(sys.argv) > 1 else "valid"]

with sync_playwright() as p:
    browser = p.chromium.launch(headless=False)
    page = browser.new_page()
    page.goto("http://localhost:3000/signup")  # your app's form
    for selector, value in profile.items():
        page.fill(selector, value)
    page.pause()  # inspect, then submit by hand or add page.click("button[type=submit]")
    browser.close()

Change the selectors to match your form. Use example.com addresses and made-up details for test users, never real people’s data.

Which option should you use?

You want Use
Your home or work address at checkout, nothing to install Chrome’s saved addresses
Two completely separate identities with separate logins One Chrome profile for each
Contact details synced with your passwords Your password manager’s identities
Named profiles, custom fields and whole-page fills A form filler with multiple profiles
Repeatable test users for manual QA A profile-based form filler with CSV import
Test users in automated or repeated runs A Playwright or Selenium script

Caveats

FAQ

Can Chrome autofill have multiple profiles? Not named ones. Chrome can save several addresses and lets you pick one from a drop-down on each form, and each Chrome profile has its own separate autofill data. For named profiles you switch between, use a form filler extension or a password manager.

How do I choose a different address in Chrome autofill? Click into a name or address field. Chrome shows your saved addresses; pick the one you want. To add or edit entries, go to Settings, then Autofill and passwords, then Addresses and more.

How do I autofill custom fields that Chrome ignores? Chrome only fills field types it knows. A form filler that lets you add custom fields matched by label, or that remembers what you typed on a specific site, covers the rest.

What is the best way to fill forms with test data? For quick manual checks, a form filler with one saved profile per test user, so values are the same every run. For repeated or automated tests, a script with the test users in code.

Tidyleaf is an independent maker of browser extensions. Not affiliated with, endorsed by or sponsored by Google. Chrome is a trademark of Google, named only to describe the browser the extension works in.