When users type in the address bar, they want suggestions to speed up navigation. Without autocomplete, users would have to type full URLs manually every time.
Browser autocomplete suggests URLs as you type, using history, bookmarks, cookies, and popular queries. It runs locally (no network needed at this stage) and updates in real-time.
- Input detected: User types character in address bar
- Local search: Check against:
- Browsing history
- Bookmarks
- Cookies (visited sites)
- Popular/common URLs
- Display: Show dropdown with matching suggestions
- No network: This happens before any DNS/HTTP
Modern browsers also use AI/ML for smarter suggestions.
- Runs locally—no network requests yet
- Uses history, bookmarks, cookies, popular queries
- Updates in real-time as user types
- Can be disabled in browser settings
- Built from: URL Parsing — autocomplete works on URL input
- Related: Browser Rendering — happens before rendering
- Related: Browser History — source for suggestions
- Contrasts with: DNS Lookup — autocomplete is local, DNS is network
- Private/incognito mode limits autocomplete data
- Corrupt history database can break autocomplete
- Some browsers share data across devices (synced)
- Autocomplete can leak visited sites (privacy concern)