User Agents

Web browsers and everyday web tech, explained

Chrome Blink Engine Explained for Beginners

· 5 min read · Browsers

In this article
  1. What Is a Browser Engine?
  2. Why Google Created Blink
  3. How Blink Works
  4. Blink vs. WebKit vs. Gecko
  5. Common Blink Features You Might Not Know
  6. How to Check Your Browser's Engine
  7. Common Problems and How to Solve Them
  8. Frequently Asked Questions

The Blink engine is the part of Google Chrome that turns HTML, CSS, and JavaScript into the web page you see on your screen. It is a browser engine, which means it handles the core work of reading a website's code and painting it as pixels, and it was forked from the WebKit engine in 2013 to give Google more control over Chrome's performance and features.

What Is a Browser Engine?

A browser engine is the software that every browser uses to display web content. When you type a URL or click a link, the engine fetches the page's files, parses the HTML structure, applies CSS styles, and executes JavaScript to make the page interactive. The engine then combines all of that into the visual rendering you see. Chrome's engine is called Blink, but other browsers use different engines: Firefox uses Gecko, Safari uses WebKit, and Edge now uses Blink as well. The engine is separate from the browser's user interface (the tabs, address bar, and menus), which is built with the browser's own code.

Before 2013, Chrome used WebKit, the same engine that powers Safari. Google and Apple had different visions for the web, and Google wanted to make changes that Apple was not interested in adopting. For example, Google wanted to support new web technologies like WebAssembly and improve sandboxing for security. Because WebKit's development was controlled by Apple, Google faced delays and conflicts. So in April 2013, Google announced it would fork WebKit and create Blink. This gave Google full control over the engine's direction, allowing faster iteration and more experimental features. The name 'Blink' was chosen because the engine was fast and could render pages quickly.

Blink's job can be broken down into several steps:

  1. Fetching: The engine requests the HTML file from the server, along with any linked CSS, JavaScript, images, and other resources.
  2. Parsing: It reads the HTML and builds a Document Object Model (DOM) tree, which represents the page's structure. CSS is parsed into style rules, and JavaScript is compiled and executed.
  3. Layout: Blink calculates the position and size of every element on the page, considering the viewport width, font sizes, and CSS rules.
  4. Painting: The engine draws the pixels for each element, handling backgrounds, text, borders, and images.
  5. Compositing: The painted layers are combined and sent to the GPU for display. This is where animations and scrolling are handled efficiently.

Blink also manages the renderer process, which runs in a sandboxed environment to isolate each tab. If a page crashes, it only affects that tab, not the whole browser.

Blink is often compared to other engines. WebKit is the closest relative, since Blink was forked from it. The main difference is that Blink has diverged significantly, with new features like the CSS Grid layout, Flexbox improvements, and the content-visibility property being implemented first in Blink. Gecko, Firefox's engine, is known for its strong privacy features and support for web standards, but it sometimes lags behind Blink in adopting new APIs. Blink is generally considered the most widely used engine because Chrome and Edge both use it, which means most web developers test primarily in Blink. This can lead to sites that work well in Chrome but have issues in Firefox or Safari.

  • Site Isolation: Blink runs each site in its own process, so a malicious page on one site cannot read data from another site you have open.
  • V8 JavaScript Engine: Blink works closely with V8, Chrome's JavaScript engine, which compiles JavaScript to machine code for fast execution.
  • WebAssembly Support: Blink was one of the first engines to support WebAssembly, allowing high-performance applications like games and video editors to run in the browser.
  • Offline Capabilities: Blink supports service workers, which enable offline caching and push notifications for web apps.

How to Check Your Browser's Engine

You can easily find out which engine your browser uses. In Chrome or Edge, open a new tab and type chrome://version (or edge://version) in the address bar. You will see a line that says 'Chromium' or 'Blink' in the description. In Firefox, type about:config and search for 'general.useragent.override' to see the engine name in the user agent string. In Safari, go to the Develop menu and select 'User Agent' to see the engine. If you are using a mobile browser, the engine is usually listed in the browser's settings under 'About' or 'Version'.

Common Problems and How to Solve Them

Blink is generally stable, but you might encounter issues:

  • High memory usage: Because each tab runs in its own process, Chrome can use a lot of RAM. You can reduce this by using an extension like OneTab, or by closing unused tabs.
  • Font rendering differences: Blink uses a different font rendering technique than Firefox, so text may look slightly different. You can adjust font settings in Chrome's settings under 'Appearance' and 'Font size'.
  • Compatibility issues: Some older websites may not work correctly in Blink if they were designed for Internet Explorer. You can enable 'Compatibility mode' in Edge, but Chrome does not have this feature.
  • GPU glitches: If you see visual artifacts, you can disable hardware acceleration in Chrome's settings under 'Advanced' and 'System'.

Frequently Asked Questions

Is Blink the same as Chromium?

No. Chromium is the open-source browser project that includes the user interface, the Blink engine, and other components. Blink is just the rendering engine inside Chromium. Chrome is Google's branded version of Chromium with additional proprietary features like automatic updates and built-in PDF viewer.

Can I install Blink on my browser?

No, Blink is not a separate installable component. It is built into Chrome, Edge, Opera, and other Chromium-based browsers. You cannot replace the engine in Firefox or Safari with Blink because the engine is tightly integrated with the browser's architecture.

Why does Chrome use so much memory?

Blink's process-per-tab model is the main reason. Each tab gets its own process to improve security and stability, but that consumes more memory. You can reduce memory usage by using fewer tabs, disabling unnecessary extensions, or using Chrome's built-in memory saver feature that puts inactive tabs to sleep.

Is Blink open source?

Yes, Blink is open source and part of the Chromium project. You can view its source code on the Chromium repository. Google leads development, but contributions come from many companies and individuals.

Does Blink support all web standards?

Blink supports most modern web standards, but no engine supports everything perfectly. It is continuously updated with new features and bug fixes. You can check a site like Can I Use to see which features are supported in Blink compared to other engines.