What is a browser and how does it work?
Whether you’re on a computer, tablet or a smartphone: The way to the internet mostly starts with a browser. As a given, we use Google Chrome, Mozilla Firefox or Safari to visit websites or to make purchases in online shops. But what is a browser actually? Here, you’ll find a simple explanation and learn how exactly “the gateway to the world wide web” works.
Key Takeaways
A browser is the program that turns the code of a website into the page you see on your screen – and it does considerably more than display text and images.
- A browser requests a website from a server and renders the HTML, CSS and JavaScript it receives into a readable page.
- The rendering engine is the central component: Blink is used by Google Chrome, Microsoft Edge and Opera, Gecko by Mozilla Firefox and WebKit by Apple Safari.
- Pages can look slightly different from browser to browser because the engines support new web features at different times.
- Every browser shares a basic set of elements: address bar, navigation buttons, tabs, bookmarks, downloads and settings.
- Extensions add features such as screenshots or ad blocking; the plug-in technologies of earlier years, above all Adobe Flash Player, are gone.
- Browsers differ most in how they treat third-party cookies, which is why the privacy settings are worth a look.
Browsers: a simple explanation
A browser is a program that requests websites from a server and displays them graphically on the screen. Texts, images, videos as well as links and other website features are displayed with the help of a browser. Browser software is free of charge in almost all cases, and the major browsers are available both for desktop computers and for mobile devices.
The browser designation is derived from the verb “to browse.” In the beginning, browsers were intended for turning pages forward and backward within multi-page text files. With the introduction of hypertext, navigation cross-references were added, so-called hyperlinks. In the meantime, the range of features available in browsers has grown considerably: In addition to images and videos, interactive graphics, audio files and PDFs are shown directly in the browser window, and complete web applications such as email clients or office suites run inside it.
How does a browser work?
In order to be able to answer the question “What is a browser?” more precisely, it helps to understand the software’s functionality. If you enter a URL in your browser, this requests the page from the target server. The server responds by returning the content in the form of HTML code, images and other resources. In doing so, every resource is clearly identified via a URI (Uniform Resource Identifier). With the help of the particular specifications that are contained in the HTML and CSS files, the browser interprets all content and ensures that we are able to see and use the website on our screen.

And what does this interpretation mean in practice? In order to be able to properly display all resources, various components complete a number of tasks. What sits behind the browser’s user interface is the browser engine, which passes the user’s input on to the rendering engine and coordinates its work. In current browsers these components no longer run in a single process: As a rule, each tab runs in a process of its own, and in Google Chrome and Microsoft Edge each extension does as well, so that one crashed or compromised page cannot reach the rest of the browser.
What does the rendering engine do?
This module is the central element for the display of content: By default, the engine displays HTML, XML and CSS files as well as images, and it runs the JavaScript that belongs to the page. After an HTML file is requested, for example, the rendering engine parses it. This means that the engine analyzes the HTML data and converts it into a format that the browser can further process. At the same time, the rendering engine creates the DOM structure on one hand – the tag’s content structure – and on the other hand, the render tree, which holds the colors, the sizes and other layout criteria.
Both structures are combined in the following steps: The nodes of the DOM tree are initially positioned according to exact coordinates, a step known as layout. Lastly, the render tree is drawn on the screen with the help of the UI backend, which visualizes the website. Appropriately enough, this step is also called “painting.” “UI” stands for “user interface,” which is also called the frontend. In other words, what the user finally sees on the screen.
Which other modules does a browser contain?
In addition to the UI backend mentioned above, which is responsible for the display of fundamental widgets, such as screen windows and dialogs, a networking module assumes the network calls via the established protocols, such as HTTP and its encrypted successor HTTPS. A JavaScript engine parses and runs JavaScript code. Furthermore, data storage is provided as a persistent component that, among other things, locally stores cookies, browser history, cache and site data on the computer. For this purpose, browsers no longer use a single web database: Websites store structured data in IndexedDB, small values through the Web Storage API and offline copies of files in the Cache API.
Which browser engines are there?
Although there are dozens of browsers, only a handful of rendering engines are behind them. Which engine a browser uses determines how it draws a page on the screen and at what point it supports a new web standard. The table lists the engines that matter in practice:
| Browser engine | Browsers that use it | Development |
|---|---|---|
| Blink | Google Chrome, Microsoft Edge, Opera, Brave, Vivaldi | Chromium project, led by Google |
| Gecko | Mozilla Firefox, Tor Browser | Mozilla |
| WebKit | Apple Safari | Apple |
This is also the reason why a website in Google Chrome sometimes looks somewhat different than it does in Mozilla Firefox: The page that the server delivers is identical, but the engines that draw it are not.
Why do websites look different in different browsers?
HTML is no longer published in numbered versions. Since the HTML5 era, HTML has been maintained as a living standard that is extended continuously, and the same applies to CSS and JavaScript. Browsers therefore don’t differ in the HTML version they understand, but in how quickly and how completely they implement new features. A layout that relies on a very recent CSS property can accordingly be rendered as intended in one browser and fall back to a simpler presentation in another.
The basic building blocks of a page – text, images and links – are the same in every browser; only their arrangement and presentation can differ. Incidentally, these deviations can also emerge if your browser is not up to date. For this reason, it is recommended that you let your browser update itself automatically.
What types of browser elements are there?
After resolving the question “What is a browser?”, let’s now take a look at the most important elements and features. The basic configuration of every browser includes the following elements:
- Address bar for entering the URL or a search term
- Buttons for navigating forwards and backwards, for updating or refreshing and for stopping a loading process
- Button for the browser homepage
- Tabs, so that several pages can stay open in one window
- Feature for creating bookmarks
- Download area that lists the saved files
- Settings area for the start page, the default search engine, site permissions and privacy options
Other features vary from browser to browser or can be added as needed. Browsers aimed at web developers additionally bring developer tools that show the DOM structure, the network requests and the JavaScript errors of the page that is open.
Useful additional browser features
In addition, browsers such as Mozilla Firefox and Safari allow you to organize your bookmarks, save your passwords and use private browsing mode, which Google Chrome calls incognito mode. In doing so, you don’t leave any visible traces on your own device. For example, your browser history isn’t stored and data that has been entered in a form cannot be reconstructed. What a private window doesn’t do is equally important: It doesn’t hide your activity from the website you are visiting, from your employer or from your internet provider.
Furthermore, in the established browsers you’ll typically find everything you need to know about the topics of security and data protection, protection against phishing and malware, warnings for connections that are not encrypted as well as ad blockers. These features, however, do not replace the comprehensive virus protection that every end device should have.
What current browsers no longer offer are the plug-ins of earlier years. Adobe Flash Player reached its end of life at the end of December 2020, and no current browser runs it or comparable plug-in technologies anymore. Their role has been taken over by web standards that the browser supports by itself, such as HTML5 video, the Canvas API and WebAssembly.
If you are lacking specific features, such as the option to take a screenshot in the browser or to translate a page automatically, your browser’s range of features can be expanded through extensions. Install them only from the official store of your browser and remove the ones you no longer use.
How do browsers handle cookies and tracking?
Every browser stores small text files called cookies. A cookie that belongs to the website you are visiting keeps you logged in or remembers what is in your shopping cart. A third-party cookie, on the other hand, comes from a different domain than the one in the address bar and mainly serves to recognize you across several websites, as a rule for advertising purposes.
This is where the browsers differ most clearly today: Apple Safari blocks third-party cookies by default and Mozilla Firefox confines them to the site that set them, while Google Chrome still permits them and instead offers settings with which you can restrict or delete them. Independently of the browser, you can delete cookies and site data at any time in the settings, and you can decide per website whether it may use your camera, your microphone or your location.
The US has no single federal privacy law for websites. The Federal Trade Commission (FTC) acts against unfair or deceptive data practices under Section 5 of the FTC Act, and a number of states have passed privacy laws of their own. The everyday decision about which cookies you accept, however, is still made in your browser settings.
How do you keep your browser secure?
The browser is the point at which your device meets the open internet, which makes it one of the most important pieces of software to keep current. Browser vendors close security vulnerabilities with updates that are often released within days, and the update is only effective once the browser has been restarted.
- Leave automatic updates switched on and restart the browser when it asks you to.
- Install extensions only from the official store of your browser and check which permissions an extension requests.
- Review the site permissions in the settings and withdraw camera, microphone, location or notification access that a website no longer needs.
- Use separate browser profiles for work and private browsing if you share a device with other people.
- Pay attention to the lock symbol and to warnings about connections that are not encrypted before you enter data in a form.
The US Cybersecurity and Infrastructure Security Agency (CISA) names keeping software such as browsers up to date among its basic recommendations for private users and organizations alike.
What browsers are there and which one is the best?
Because all browsers essentially operate the same way, one cannot make sweeping statements about which one is the best. A lot more depends on one’s needs and user habits. The most widely used browsers include:
- Google Chrome: On the market since 2008, the most widely used browser in the US and worldwide and the number one option when it comes to cross-device synchronization.
- Apple Safari: Preinstalled on macOS, iOS and iPadOS and, because of the share of iPhones, correspondingly widespread in the US.
- Microsoft Edge: The successor to Internet Explorer, preinstalled on Windows and, since 2020, built on the same Chromium project as Google Chrome.
- Mozilla Firefox: The best-known Windows and Linux browser that is not based on Chromium, developed by the non-profit Mozilla Foundation and its subsidiary.
- Opera: A Chromium-based browser with built-in features such as an ad blocker, mostly popular on mobile devices.
- Brave and Vivaldi: Smaller Chromium-based browsers that focus on tracking protection and on configurability.
Microsoft Internet Explorer no longer belongs in this list. Microsoft ended support for the Internet Explorer 11 desktop application on June 15, 2022. The same applies to the original version of Microsoft Edge that was not yet based on Chromium and that is referred to as Edge Legacy. Websites that still require Internet Explorer can be opened in Microsoft Edge in a dedicated IE mode.
In a separate article on the subject “Which browser is the best?” we provide a more in-depth introduction to the individual browsers.



