Skip to content

How to use browser sources in OBS

How to show a web page in OBS with a browser source: what every setting does, the right width and height for alerts and widgets, and how to fix a blank one.

By Soulstack · Stream production · 7 min read · Published , updated · How we check our guides

In this guide

A browser source shows a live web page inside an OBS Studio scene. To add one, click + in the Sources dock, choose Browser, paste the page's address into URL, set Width and Height to the size the page was designed for (often 1920 by 1080) and click OK. Alerts, goal bars, countdowns, chat boxes and stream games all work this way.

This post is the reference for browser sources: what each setting does, which ones to change and how to fix the common problems. For choosing and layering overlay graphics in general, see how to add overlays to OBS.

What a browser source is

OBS has a web browser built in, based on the Chromium Embedded Framework. A browser source loads a page in that browser and draws it into your scene, with a transparent background by default. Because it is a real page, it can update live: a new follower, a goal ticking up, a game round playing out.

That power has a cost. Every browser source is a page running in the background, so use one only when the content needs to change during the stream. A static logo should be an Image source.

Every browser source setting

These are the properties in OBS's browser source guide (opens in a new tab), with the defaults OBS uses.

SettingDefaultWhat it does and when to change it
Local fileOffLoads an HTML file from your computer instead of a web address. Leave off for hosted widgets.
URLOBS's sample pageThe page to load. Paste your widget link here.
Width and Height800 and 600The page's size in pixels. Set these to what the widget expects, not to your canvas unless the widget is full scene.
Use custom frame rateOffRenders the page at a frame rate you set. Leave off unless a service asks for it.
Control audio via OBSOffSends the page's sound to the Audio Mixer, where you can set its volume, filter it and monitor it. Turn on for alerts and games with sound.
Custom CSSTransparent background, no margins, no scroll barStyling applied on top of the page. Keep the default unless you know what you are changing.
Shutdown source when not visibleOffUnloads the page when it is hidden or not in the active scene. Saves resources, but the page stops listening for events.
Refresh browser when scene becomes activeOffReloads the page each time you switch to its scene. Useful for a page that should start fresh, such as an intro animation.
Page permissionsRead access to OBS status informationHow much the page can see or control in OBS. Only raise it for a tool you trust that needs it, such as a scene switcher.
Refresh cache of current pageButtonReloads the page and its files immediately. The first fix to try.

The settings that matter most

Width and Height. Most strange-looking browser sources are a size mismatch. If a widget is cut off, the page is too small. If text is tiny, the page is too large and you have scaled it down in the scene. Set the size the service tells you, then position it in the scene. A full-scene widget at 1920 by 1080 on a 1920 by 1080 canvas should sit exactly with Transform > Fit to screen.

Shutdown source when not visible. Leave this off for alerts and anything that must hear about events while you are on another scene, or a follow during your BRB screen will be missed. Turn it on for a heavy page that only matters in one scene, such as a full-screen intro.

Control audio via OBS. With it off, the page plays sound through your computer like a normal browser, so it only reaches the stream if Desktop Audio picks it up, and you cannot set its level in OBS. Turn it on so the source appears in the Audio Mixer with its own slider. If you want to hear it yourself, open Edit > Advanced Audio Properties and set the source's Audio Monitoring to Monitoring Enabled, so you hear it and it still goes to the stream.

Interact with a page

Right-click a browser source and choose Interact to open the page in a window where you can click and type. Use it to:

  • Sign in, if a widget page asks you to.
  • Press buttons on an interactive overlay.
  • See whether a blank source is a page problem (the page is empty in Interact too) or a layout problem (the page looks fine in Interact but not in the scene).

Use local files carefully

Tick Local file to load an HTML overlay saved on your computer, such as one a designer built for you. You are then responsible for the file and everything it loads: fonts, images and scripts. Keep them together in one folder and back it up. Hosted widgets are easier for most streamers because the service handles updates.

Real examples

  • Alerts: one browser source with Control audio via OBS on and Shutdown source when not visible off, at the top of the Sources list in every scene where alerts should show. Bearsong's stream alerts use one link for every alert type at 1920 by 1080.
  • A goal bar or countdown: one browser source sized to the widget, reused in the scenes that need it.
  • A stream game: Bearsong's Pond Party games play out on stream through a browser source. You copy the Game viewer URL from the lobby, add it to OBS and viewers join from chat with !party or !join.
  • A chat box for viewers: a chat widget from an overlay service, sized to fit a corner.

Reuse sources across scenes

If the same widget should appear in several scenes, add the existing source rather than creating a new one. The Add Source window offers your existing sources of that type. A shared source is one page, with one set of settings, while its position and size can still differ in each scene.

Create a separate source only when you need different properties, such as a different URL or different page size.

Browser sources and docks are different

A browser source is part of your scene, so viewers see it. A custom browser dock is a panel in the OBS window that only you see. You add docks from Docks > Custom Browser Docks, giving each a name and an address. Use docks for your own tools, such as chat with moderation or a control panel, and never add one of those pages as a source in a scene viewers can see.

Fix a blank or broken browser source

Work through these in order:

  1. Check the URL. Paste it into a normal browser. If it fails there, the link is wrong or has been replaced; copy a fresh one from the service.
  2. Press Refresh cache of current page in the source's properties.
  3. Open Interact to see what the page is really showing. A sign-in screen means the page needs you to sign in inside OBS.
  4. Check the size. A widget that draws at the bottom of a 1920 by 1080 page will be off-screen in a 400 by 300 source.
  5. Check the order and visibility. Another source may be covering it, or its eye icon may be off.
  6. Fire a test event. Many widgets are transparent until something happens. Use the service's test button.
  7. Update OBS. OBS Studio 33.0 updated the built-in browser engine, so pages that need newer web features may only work on a current version.

If a page works in a normal browser but not in OBS, remember they are separate browsers with separate sign-ins and cookies.

Keep browser sources light

  • Use the fewest browser sources you can. Combine widgets if your service allows it.
  • Size each one to its widget.
  • Avoid duplicate sources loading the same URL.
  • Check View > Stats with all your pages loaded, and watch CPU Usage and "Frames missed due to rendering lag".

When the content needs to change live, a browser source is the right tool. When it does not, an Image or Media source keeps the scene lighter.