Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Add Twitch Chat to OBS as an Overlay (Browser Source)

To add Twitch chat to OBS as an overlay, pop your Twitch chat out into its own window (settings cog, then Pop Out Chat), copy that window's address, then in OBS add a Browser source, paste the address into the URL box and set a width and height. OBS's default Custom CSS already makes the background transparent, so chat sits over your scene with no box behind it.

You don't need a plugin or a separate app for this. Browser source is built into OBS on Windows, macOS and Linux, and OBS says Browser sources are mainly used for stream alerts and chat boxes, so a chat overlay is exactly the job it was made for. The one step people trip on is the chat address, so copy it from the popped-out window rather than typing it.

Showing your chat on screen means people watching a replay, a clip or a recording can follow the conversation too. It also helps you as a streamer, because you can see what viewers are saying without glancing at another window. If you run webinars, product demos or community streams for a small business, it makes the broadcast feel alive.

I've used the OBS knowledge base and Twitch's help pages for this. OBS and Twitch change their menus from time to time, so where the wording could differ I've said so. The defaults quoted below (800 by 600, 30 FPS if you switch on a custom frame rate, and the exact Custom CSS text) come from the OBS Browser Source page, dated 11 January 2022.

What a Twitch chat overlay in OBS is

OBS describes Browser source as, quite literally, a web browser you can add directly to OBS. It says this source is primarily used for stream alert overlays and chat boxes. So a Twitch chat overlay is simply the Twitch chat web page, placed on top of your scene. Alerts are the other half of most overlays, and my guide to the best stream alert tools covers options for Twitch and Kick streamers.

OBS lists Browser source as available on Windows and macOS, and on Linux through the official packages, so the steps below are the same on all three. It runs on the Chrome Embedded Framework, which is why a page that works in a normal browser tab will usually work in OBS too. There's also a Page permissions setting, which defaults to read access to OBS status information. A chat box doesn't need anything more, so leave it as it is.

Getting your Twitch chat address for the OBS overlay

Twitch's Chat Basics help page says clicking the settings cog opens the Chat Settings menu, and that its Pop Out Chat option opens chat in its own, dedicated browser window. That separate window is the page you want OBS to show.

  1. Open your channel on Twitch in your browser, with chat showing.
  2. Click the settings cog in chat to open Chat Settings, then choose Pop Out Chat.
  3. When chat opens in its own window, copy the web address from the address bar.

Twitch's help pages don't spell out the exact address format, so copying it from the window you've popped out is the safest route. Keep it handy for the next step.

Before you go anywhere near OBS, paste that address into a fresh browser tab. You should see chat on its own, with no video player and none of the rest of the channel page. If you can see the stream itself, you've copied the channel address instead, so go back to the pop-out window and copy again.

How to add Twitch chat to OBS as a Browser source

  1. In OBS, pick the scene you want chat to appear in.
  2. At the bottom of the Sources dock, click the plus button.
  3. Choose Browser from the Add Sources list and give it a name such as Twitch chat.
  4. Paste your chat address into the URL box.
  5. Set the Width and Height. OBS shows defaults of 800 and 600, which you can change to suit the space on your screen.
  6. Click OK.

OBS says the Browser source options also include Custom CSS, a custom frame rate and a button to refresh the cache of the current page.

Two tick boxes in the same window decide what happens when chat isn't on screen, and both are off by default. Shutdown source when not visible unloads the page when you hide the source with the eye icon or when it isn't in the active scene. Refresh browser source when scene becomes active reloads the page each time you switch to that scene. My advice is to leave the first one off for chat, because the overlay then has to load from scratch every time it comes back, and to tick the second only if you notice chat looking stale after a scene change.

Use custom frame rate is off by default too, and if you turn it on, the FPS box starts at 30. Chat is just text arriving line by line, so there's no reason to touch it here.

Making your Twitch chat overlay transparent in OBS

The Custom CSS box, according to the OBS guide, by default makes the page background transparent, removes margins and hides the scroll bar. That means your chat should sit over the scene without a solid box behind it. If the background looks solid, check the Custom CSS box hasn't been emptied or replaced by something else.

If you've cleared it by accident, this is the default text OBS puts there. Paste it back exactly as written:

body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }

Each part does one job. The rgba(0, 0, 0, 0) value is a colour with zero opacity, which is what makes the background see-through. The margin setting removes the gap around the edge of the page, so chat lines up with the box you've drawn. And overflow: hidden hides the scroll bar if the page comes out larger than the width and height you set, so no scroll bar appears down the side of your stream.

Sizing and placing Twitch chat in your OBS scene

OBS explains that you can drag a source around the preview and resize it using the red handles on the bounding box. Sources higher in the Sources list sit on top of those below them, so keep chat above your game or camera layers if it's being hidden.

  • Drag the source to move it.
  • Drag the red corner handles to make it bigger or smaller.
  • Use the up and down arrows in the Sources dock to change the order.
  • Click the eye icon to hide or show chat temporarily.

OBS also offers an Edit Transform window under the Edit menu if you want to place the source with more accuracy.

Fixing a Twitch chat overlay that is blank or out of date in OBS

  1. Right-click or open the properties of the Browser source and use Refresh cache of current page.
  2. Check you copied the whole chat address and that it opens in a normal browser tab.
  3. Remember the overlay shows exactly what the web page shows, so if the page asks you to sign in, you'll see that prompt in OBS too.
  4. Check the width and height aren't tiny, which can make chat look empty.
  5. Check the source is above other layers in the list and the eye icon is on.

If chat still won't show, test the address in a private browser window. If that doesn't load either, the problem is the address, not OBS.

Here's how to tell the common faults apart. If chat is stuck on old messages, open the source properties and click Refresh cache of current page, which OBS says immediately refreshes the page and reloads its content. If it only goes stale after you switch scenes, tick Refresh browser source when scene becomes active, so it reloads every time you cut back to that scene. And if it goes blank whenever you hide it, check whether Shutdown source when not visible has been ticked.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Another page I'd recommend is my guide on how to change your Twitch chat color. Your name colour shows in the overlay just as it does in chat, so pick one that reads well over your scene.

Keeping your Twitch chat overlay tidy and safe

What you put on screen is what your whole audience sees, so think before you show everything. Moderators can remove unwanted messages, and my guides to making someone a mod on Twitch and banning someone on Twitch explain how to set that up. If you want your own emotes showing in the overlay, see my notes on adding emotes on Twitch.

If a viewer sends something threatening, report it to Twitch and, if you're in danger, contact the police.

The chat filter decides which words get hidden, and my guide on how to turn off the Twitch chat filter walks through changing it if you'd rather see everything.

A short checklist for your Twitch chat overlay in OBS

  • Chat is popped out into its own window and the address is copied.
  • The Browser source is in the right scene, named clearly.
  • Width and height suit the space you've left for chat.
  • The background is transparent and the text is readable over your scene.
  • Chat sits above other layers and the eye icon is on.
  • You've tested it with a short private recording before you go live.

For that last check, record 30 seconds with a friend typing in chat, then play the file back on your phone. If you can't read a message comfortably at arm's length, make the source bigger or move it somewhere with a darker background behind it before you go live.

Running a game stream with Drops switched on? Here's where I go further on it: how to see your Twitch drops progress.

Quick answers on Twitch chat in OBS

Why is my Twitch chat overlay blank in OBS?

Check you copied the whole chat address and that it opens in a normal browser tab, and that the width and height aren't tiny. Also check the source sits above other layers and its eye icon is on.

Can I control what chat shows on my stream?

Moderators can remove unwanted messages, which matters because your whole audience sees what's on screen. If a viewer sends something threatening, report it to Twitch and, if you're in danger, contact the police.

Using a Twitch chat overlay for small business and creator streams

If you host live Q and A sessions, product walk-throughs or community hangouts, showing chat on screen helps recordings make sense later. When someone watches a clip, they can see the question being answered. It also gives you an easy way to thank people by name as they type.

The little badges beside people's names show up in your overlay too, and the Twitch chat icons meaning guide explains what each one means.

Frequently asked questions

What is the default Custom CSS for an OBS Browser source?

OBS sets body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; } by default. That gives a transparent background, no margin and a hidden scroll bar.

Where do I find the Twitch chat pop-out?

Twitch says Pop Out Chat in the Chat Settings menu, opened from the settings cog, opens chat in its own dedicated browser window.

Should I turn on 'Shutdown source when not visible' for chat?

It's off by default, and it's best left that way for chat. When it's on, OBS unloads the page whenever you hide the source or leave the scene, so chat has to reload when it comes back.

Why is my Twitch chat overlay not transparent in OBS?

OBS says Custom CSS by default makes the background transparent. Check the Custom CSS box still has its default text.

Does the chat overlay need a plugin?

No. OBS describes Browser source as a web browser you can add directly to OBS, and it comes built in.

Does OBS Browser source work on Mac and Linux?

OBS lists Browser source as available on Windows, macOS and Linux, with Linux through official packages.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.