Autofill Leak Demo
Nothing is sent anywhere. The form cannot be submitted, no request is made and nothing is stored. Values exist only on this page until you press Clear or leave.
Try it
Click the name or email field below and choose a saved entry from the browser's suggestion list. Do not type by hand: typing fills nothing else, so the test would show nothing. The form also holds 30 fields you cannot see.
Could not determine
Waiting for you to pick a saved profile from the browser suggestion in the name or email field. Possible reasons: no saved name, email or address in this browser, autofill is switched off, or the browser asks per field (Firefox does).
Hidden fields
| Field | Hidden by | Filled? |
|---|---|---|
| Phone | Off-screen | No |
| Company | Off-screen | No |
| Street address | Off-screen | No |
| Postal code | Off-screen | No |
| City | Off-screen | No |
| Country | Off-screen | No |
| Phone | Opacity 0 | No |
| Company | Opacity 0 | No |
| Street address | Opacity 0 | No |
| Postal code | Opacity 0 | No |
| City | Opacity 0 | No |
| Country | Opacity 0 | No |
| Phone | 1 px, clipped | No |
| Company | 1 px, clipped | No |
| Street address | 1 px, clipped | No |
| Postal code | 1 px, clipped | No |
| City | 1 px, clipped | No |
| Country | 1 px, clipped | No |
| Phone | visibility: hidden | No |
| Company | visibility: hidden | No |
| Street address | visibility: hidden | No |
| Postal code | visibility: hidden | No |
| City | visibility: hidden | No |
| Country | visibility: hidden | No |
| Phone | display: none | No |
| Company | display: none | No |
| Street address | display: none | No |
| Postal code | display: none | No |
| City | display: none | No |
| Country | display: none | No |
What to do about it
- Chrome and Edge can fill a whole saved address at once, and Safari can fill from your contact card; behaviour differs by version and settings, which is why this page measures it. Firefox usually fills only the field you chose.
- Do not accept an autofill suggestion on a site you do not know. Type the two fields by hand instead.
- Remove phone number and street address from the browser's autofill profile if you do not need them filled. Data that is not saved cannot be filled.
- Use a password manager that fills only what you can see, or turn off address autofill and use it only on sites you trust.
Learn more
Guide and answers to common questions about Autofill Leak Demo
What browser autofill is
Autofill is the feature that offers to fill a form for you. The browser keeps a profile of details you have typed before or saved on purpose: your name, email address, phone number, street address, postal code, city, country, sometimes your company. When it recognises a field, it offers the saved value, and in many browsers one choice fills several fields of the same form at once. That is convenient when a form has twelve boxes and you have filled in the same twelve a hundred times.
The browser decides what a field is from hints in the page. The most important hint is the autocomplete attribute, which names the kind of data a field wants, with values such as name, email, tel, organization, street-address, postal-code and country-name. The browser also looks at the name and id of the field, its label and its position next to other fields. The web page supplies all of these hints, so a page decides which of your saved details your browser is willing to offer it.
The hidden-field problem
A form field can be present in the page and still be invisible to you. A page can move it far off the screen, make it fully transparent, shrink it to one pixel, or hide it with styles. If the browser fills a field by looking at the form structure rather than at what is painted on screen, you can pick your name in the one box you can see and, with the same click, hand over fields you never knew were there. When you press the submit button, all of them go to the site together.
This was described publicly in January 2017 by the Finnish developer Viljami Kuosmanen, who published a short demo page. It showed a form that asked only for a name and an email address, with extra fields such as phone number, organization, address and postal code placed out of sight. In browsers that filled the whole saved profile on one choice, the hidden fields were filled too. Browser makers have changed the behaviour since.
The risk is real but narrow. It needs a site that you visit, a form that you interact with, a saved profile that holds the data, and a browser that fills fields it cannot show you. It does not let a page read your profile silently. The values only exist for the page once the browser has put them into the fields, and in the usual case that happens after you choose a suggestion. A site that wanted to abuse this would still need you to press submit, or code of its own that reads the fields.
What this page measures
The form on this page asks only for a name and an email address. Behind it sit thirty more inputs: six kinds of data (phone, company, street address, postal code, city and country), each hidden in five different ways. The five ways are positioned off-screen, opacity set to zero, shrunk to one pixel and clipped, visibility hidden, and display none. Every input has its own id and a proper autocomplete value, so the browser has the same hints a real form would give it. Screen readers skip the hidden inputs and the Tab key cannot reach them, so keyboard and screen-reader users are not confused.
To use it, click the name or email field and pick a saved entry from the suggestion list your browser shows. Do not type by hand, because typing never triggers autofill. After the pick, the page reads every hidden input and lists which ones now contain a value, with the technique that was used to hide them. That is the measurement: this browser, with this saved profile, filled or did not fill a field hidden in this way.
The result at the top has three outcomes. If any hidden field holds a value, the result is red, with the count. If autofill filled the visible name or email and left every hidden field empty, the result is green. If the page could not detect any autofill, it says it could not determine the answer, and it does not call that a pass. A browser that did not fill anything may simply have had nothing saved, or autofill may be off, or you may have typed.
- Off-screen: the field is positioned thousands of pixels to the left of the page.
- Opacity 0: the field sits in its normal place but is fully transparent.
- One pixel, clipped: the field is shrunk and cut off so that nothing is drawn.
- visibility: hidden: the field keeps its space in the layout but is not painted.
- display: none: the field is removed from the layout entirely.
How the page tells autofill from typing
When you type, the browser reports each edit as an input event that carries a type, such as inserting text. When the browser fills a field from a saved profile, it changes the value in one step and the event has no such type. The page uses that difference. It also asks the browser whether a field matches the autofill style, which Chrome and Safari apply to filled fields, and it listens for a tiny animation attached to that style, which fires at the moment of filling even if no other event does.
These checks are good but not perfect. A browser may fill a field without raising any event the page hears, and a password manager extension may fill fields in its own way. That is why the page also re-reads the hidden fields a moment after each change and when you press Check again. If a hidden field holds a value, autofill happened, whatever the visible checks said. If nothing holds a value and no autofill was detected, the page says it could not determine the answer.
What each browser does, as far as is known
Behaviour differs between browsers, versions and settings and changes without much notice, so treat this section as background and the table on the page as the answer. Chrome and other Chromium browsers, including Edge, can fill a whole saved address when you pick one, and in the past they filled fields that were not visible. Chrome has since changed how it handles such fields, so expect some hiding tricks to fail in a recent version. Safari can fill from your contact card and has long had its own rules about which fields it fills. Firefox has been more cautious than the others about filling many fields on one click, and for addresses its autofill has historically been limited to certain regions and versions.
If your result differs from this description, trust your result. It is what your browser did just now.
What the page cannot know
A green result is not a guarantee. It means that this browser, with this profile, did not fill these fields in these ways on this visit. A different saved address, a different version, a different site or a different arrangement of the fields might behave differently. The page tests six kinds of data and five hiding styles, not every field type or every trick, such as moving a field behind another element or changing it after the page loads.
The page also cannot see data you did not save. If your profile holds no phone number, a hidden phone field stays empty and tells you nothing about what the browser would do if it had one. For a fair test, make sure your browser has a saved address with a phone number and a company before you pick a suggestion.
Finally, a password manager extension, a phone keyboard or an operating-system service can fill forms by its own rules. The result describes the combination you actually have.
How to protect yourself
The simplest habit is to stop using the one-click address fill on sites you do not know. For a form you do not trust, type the name and email by hand, or fill in only the field you chose. Filling a full address is worth it on a shop you use regularly, where you were going to type all of it anyway.
The second step is to keep less in the profile. If your browser holds your phone number, home address and company, any form that can get them filled can read them. Open the autofill settings of your browser, look at the saved addresses and remove what you rarely need. Data that is not stored cannot be handed to a hidden field.
The third step is to use a tool that fills only what you can see. Some password managers fill only visible fields, and some browsers have a setting to ask before filling each field or to turn address autofill off. Keep your browser updated, since the fixes for this class of problem arrive through updates.
- Pick an autofill suggestion only on sites you know and trust.
- Remove phone number and street address from the autofill profile if you rarely need them filled.
- Prefer password managers and settings that fill only visible fields.
- Look at what a form is filling: if a box you did not click has a value, stop and clear the form.
- Keep the browser up to date.
Why nothing is sent
This page makes no network request with what you fill in. The form has no destination and cannot be submitted, the values are read in your browser and held in memory only, and nothing is written to cookies, local storage or any other place on your device. The Clear button removes the form contents and the results, and closing or reloading the page does the same. A page that tested the behaviour by collecting your address would defeat its own purpose, so this one is built so that it cannot.
Frequently asked questions
Is my data sent when I use this demo?
No. The form cannot be submitted and the page makes no request with the values. They are read from the fields in your browser, shown to you, and kept in memory until you press Clear, reload or close the page. Nothing is stored in cookies or local storage.
Why does the result say it could not determine anything?
Because the page did not see any autofill happen. That is the case if you typed by hand, if the browser has no saved name, email or address, if autofill is switched off, or if the browser asks for each field separately. Click the name or email field, wait for the suggestion list and pick an entry, then check again.
Does a green result mean I am safe?
It means your browser did not fill the hidden fields in this test, with the profile it holds, on this visit. It is a good sign for the five hiding styles tested. It does not cover other styles, other versions or other tools such as password managers, so keep the habits listed in the guide.
Which hiding techniques do browsers usually fill?
It varies and it changes between versions, which is why the page measures it. In general, fields without a box on the page, such as display none, are the ones browsers most often skip, while fields that have a box but cannot be seen, such as off-screen or transparent ones, are harder to tell from normal fields. Use the table on the page rather than this rule of thumb.
Can a website really read my autofill data without my knowing?
Not silently. The browser has to put the values into the fields, and in the usual case that happens after you choose a suggestion. The risk is that you choose a suggestion for two visible fields and the browser fills more than you saw. The data then goes to the site when you submit the form, or earlier if the page has code that reads it.
How do I remove my phone number and address from autofill?
Open the settings of your browser and look for autofill, addresses or payment and address information. Delete or edit the saved addresses there, and in a password manager do the same for its identity or address entries. The exact menu names depend on the browser and its version.
Why do you want me to use a saved profile instead of typing?
Because the test is about what autofill does. Typing never triggers autofill, so hidden fields stay empty and the page can learn nothing. The page only reads values from this browser, and you can press Clear when you are done.