01
What Is a Web Browser?

A web browser is an application that retrieves web resources, applies web standards, and presents websites and web applications that people can read and operate. Chrome, Edge, Firefox, Safari, Brave, and other browsers differ in design and features, but they perform the same broad role.
The visible browser interface includes the address bar, tabs, back and forward controls, bookmarks, downloads, settings, and permission prompts. Behind that interface are networking components, a web-content engine, a JavaScript engine, graphics and media systems, storage, security boundaries, accessibility support, and developer tools.
A browser is not the same as a search engine. The browser is software on your device. A search engine is a website or online service that indexes information and helps you find pages. You can open a search engine in a browser, just as you can open an online store, bank, or email service.
A browser is also more than its rendering engine. An engine such as Blink, WebKit, or Gecko implements many web-platform behaviors, while the complete browser adds its interface, account synchronization, update system, permissions, password management, privacy controls, and operating-system integration.
Browsers act as clients: they request resources from servers and interpret the responses. They can also run substantial application logic locally, store site data, decode audio and video, draw graphics, use approved device capabilities, and keep some web applications working offline.
This combination makes the browser a carefully controlled application platform. It must run code from unfamiliar websites while protecting the user's files, accounts, device, and data from that code and from other sites.
03
How Code Becomes Pixels and Interaction

A website is normally delivered as structured resources rather than a finished screenshot. The browser turns those resources into a visual and interactive result.
The HTML parser converts markup into the Document Object Model, or DOM. The DOM is a tree of document nodes representing elements, text, and their relationships. Meaningful HTML also supplies information used by navigation, forms, search systems, and assistive technology.
CSS is parsed into style information. The cascade resolves which declarations apply to each element, considering selectors, inheritance, importance, source order, media conditions, and browser defaults. The browser combines document and style information to determine which boxes need to appear and how they should look.
Layout calculates geometry: the size and position of text, boxes, images, and other content. Painting records visual details such as backgrounds, borders, text, and shadows. Compositing combines painted layers into the final image, often using graphics hardware for suitable work such as transforms, scrolling, and video.
JavaScript runs in a JavaScript engine and can respond to events, change the DOM and styles, request data, use browser APIs, and schedule later work. The event loop coordinates tasks, promise callbacks, rendering opportunities, and user input. Long-running script on the main thread can delay interaction and visual updates even when the network is fast.
A change does not always rebuild the entire page. The browser tracks invalidated style, layout, paint, or compositing work and updates what is necessary. Changes that affect geometry can be more expensive than changes that only affect an already-composited layer, although the exact optimization depends on the engine and page.
04
Browser Engines and JavaScript Engines

The phrase browser engine is useful, but it can hide several cooperating components. A modern web-content engine includes HTML parsing, the DOM, CSS style calculation, layout, graphics, networking integration, media support, accessibility integration, and implementations of many Web APIs.
Chrome and current versions of Microsoft Edge are based on the Chromium project and use Blink for web content with V8 for JavaScript. Firefox uses Mozilla's Gecko platform and SpiderMonkey JavaScript engine. Safari is built around WebKit, whose JavaScript engine is JavaScriptCore.
An engine is not the complete browser. Chromium is an open-source browser project that includes much more than Blink, while WebKit explicitly describes itself as a web-content engine rather than a full browser. Browser vendors combine engines with product-specific interfaces, services, privacy decisions, release processes, and platform integration.
All major engines implement shared standards, but they use different internal architectures and release schedules. A new CSS feature, media format, Web API, or performance optimization may therefore appear at different times or behave differently around an edge case.
JavaScript engines parse and compile JavaScript, manage memory, optimize frequently executed code, and expose standardized language behavior. Browser APIs such as the DOM, fetch, storage, media, and notifications are provided by the surrounding web platform rather than by the JavaScript language alone.
This distinction explains why the same JavaScript language can run outside a browser while browser-specific code cannot. A server-side JavaScript runtime may provide files and networking APIs, for example, but it does not automatically contain a browser DOM or rendering pipeline.
05
How Browsers Separate Work Behind the Scenes
Modern desktop browsers commonly split work across operating-system processes. This improves fault isolation and creates stronger security boundaries, although it also uses more memory than placing everything in one process.
A main browser process usually manages windows, tabs, navigation, history, permissions, and coordination with the operating system. Renderer processes handle web documents and execute site code within restricted environments. Separate network, GPU, audio, video, extension, or utility processes may provide specialized services.
It is an oversimplification to say that every tab always equals exactly one process. One tab can contain documents from several sites through embedded frames, several related documents may share a process, and browsers can reuse or limit processes according to architecture, platform, memory, and security policy.
Processes communicate through controlled inter-process messages. A sandbox limits what a renderer can directly access. When a page needs a privileged operation—such as opening a file chooser or using an approved device capability—the browser process can validate the request and mediate access.
Site isolation goes further by using process boundaries to help separate content from different sites. This reduces the amount of cross-site data available to a compromised renderer. The exact policy differs between browser families and platforms, so site isolation should be understood as an additional defense rather than a claim that every page is perfectly isolated.
If a renderer crashes, the affected page may fail while the browser interface and unrelated pages continue. Multi-process design cannot prevent every crash or vulnerability, but it limits failure impact and is a central part of modern browser stability and security.
07
How Browsers Protect Users and Separate Sites

A browser routinely downloads and runs code from sites that may not trust one another. Security therefore depends on several overlapping controls rather than one protective feature.
The same-origin policy restricts how a document or script from one origin can read or modify resources belonging to another. An origin is primarily defined by scheme, hostname, and port. CORS response headers let a server selectively permit certain cross-origin browser requests; CORS is not authentication and does not protect a server from requests made outside a browser.
Sandboxing and process isolation reduce the privileges available to web content. Content Security Policy can restrict which resources a page is allowed to load or execute. Browsers also block or warn about some mixed content, deceptive downloads, phishing, malware, invalid certificates, intrusive popups, and other risky behavior.
HTTPS encrypts traffic in transit, checks its integrity, and normally authenticates the server named by the certificate. It does not prove that the site's claims are honest, that its business practices are safe, or that its own systems will handle data correctly.
Sensitive browser capabilities usually require a secure context, an explicit user action, permission, or a combination of these. Camera, microphone, location, notifications, clipboard access, screen sharing, and connected-device APIs have different permission and lifecycle rules. A previous approval can normally be reviewed or revoked in site settings.
Extensions can modify webpages and may receive broader privileges than ordinary site code, depending on their declared permissions. Users should install extensions carefully and remove ones they no longer trust. Keeping the browser and operating system updated remains one of the most important practical protections because updates repair known vulnerabilities.
08
Why Pages Differ Across Browsers and Devices
Web standards give browsers a common target, but identical output is not guaranteed. Engines can differ in incomplete features, newly shipped behavior, font rendering, form controls, media support, accessibility integration, graphics drivers, and interpretation of an unusual edge case.
The same browser can also behave differently across devices. Screen size, input method, memory, processor speed, power-saving mode, installed fonts, accessibility preferences, network quality, and operating-system services all affect the experience.
Good websites use progressive enhancement: begin with meaningful content and dependable controls, then add advanced behavior when the required capabilities are available. Feature detection is more reliable than guessing from a browser name, and responsive design adapts to available space rather than assuming one device size.
Performance is shared work between the network and the device. Large resources, slow servers, too many requests, complex style calculations, image decoding, and long JavaScript tasks can each delay a page. Caching and faster connections help only some of those costs.
Browsers build an accessibility representation from document semantics, names, states, relationships, and rendered content. Correct HTML, keyboard operation, visible focus, useful alternatives, readable contrast, captions, zoom support, and clear errors make a site more usable across browsers and assistive technologies.
Developer tools expose the network timeline, DOM, computed styles, console, storage, accessibility information, performance recordings, and other diagnostics. Developers still need real testing across major engines, mobile devices, keyboard navigation, zoom levels, and assistive technology because one browser's preview cannot represent every user.
09
From Document Viewer to Application Platform
Early browsers focused on linked documents. Modern browsers can support editing, communication, design, maps, streaming, games, finance, education, and other application-like experiences without a traditional installation.
Service workers can respond to requests outside an open page, support carefully designed offline behavior, and enable features such as background events where the platform permits them. A web app manifest can describe installable presentation and identity, while the browser and operating system decide how installation is offered.
WebAssembly provides a portable low-level compilation target that can complement JavaScript for suitable workloads. WebRTC supports real-time media and data communication. WebGPU and existing graphics APIs expose controlled access to graphics capabilities. Media, file, clipboard, credential, and device APIs add further features with platform-specific security and permission requirements.
These capabilities do not erase the Web's core strengths. A URL can still identify and share a resource, standards let different implementations participate, and users can often open an experience without installing a vendor-specific package.
New browser features pass through specification work, implementation, testing, security review, and gradual adoption. A feature being proposed or available in one browser does not mean every user can rely on it. Production sites should check current compatibility, provide fallbacks where appropriate, and avoid requesting capabilities before they are needed.
The browser ultimately coordinates two priorities that can conflict: giving websites enough capability to be useful while limiting the power of untrusted code. Networking, rendering, process isolation, origin rules, permissions, and updates all contribute to that balance each time a page opens.
Reviewed against primary sources
References and further reading
These official resources provide definitions, risk-management guidance, and additional technical context for this explainer.
About this explainer
This guide is an introductory educational overview. Technology, standards, and product behavior can change, and implementations may differ. For production, security, or specification decisions, confirm details with current official documentation and primary sources.
Frequently asked questions
Quick answers to common questions.
Put It into Practice
Try a related browser tool
Use these free tools to explore a concept from this guide directly in your browser.
From Tech Pioneers
Meet people behind the technology
Continue with concise profiles of people whose work connects directly to this explainer.
Continue Learning
Related technology explainers
Continue with guides selected from shared subjects and concepts.

Web Development
How Search Engines Work
Learn how search engines discover, crawl, render, index, retrieve, rank, and present webpages—and how SEO, AI answers, and privacy fit into the process.
Read guide
Web Development
How Websites Work
Learn how a URL becomes a webpage through DNS, HTTPS, servers, HTML, CSS, JavaScript, APIs, databases, browser rendering, hosting, and caching.
Read guide
Web Development
What Happens When You Type a URL?
Follow a URL through parsing, DNS, TCP or QUIC, TLS, HTTP, server processing, caching and browser rendering until a webpage becomes interactive.
Read guideFrom the blog
Related articles
Go deeper with news, trends, and real-world AI stories on the blog.

Artificial Intelligence
The Future of Search: Are We Replacing Google With AI?
Google now combines search results with AI answers, while conversational assistants can retrieve web sources. Explore how these experiences differ, when to use each, and what the shift means for readers and publishers.
Read on blog
Future Technology
The Future of Programming Languages
Programming languages continue to evolve as Artificial Intelligence changes how software is built. Discover how future languages may become simpler, smarter, and more focused on human intent than syntax.
Read on blog
Software Engineering
Why Every Developer Should Learn System Design in the AI Era
AI can generate code quickly, but dependable software still requires people who can define boundaries, evaluate trade-offs, and design systems that remain secure, reliable, and understandable as they grow.
Read on blogShare this explainer
More from Tech Explained
Browse all topics in plain language.



