How to find your YouTube stream key
Where YouTube keeps the stream key and the RTMP server URL, what the key looks like, and the settings YouTube wants from your encoder — so the first stream connects.
Written against YouTube's current dashboard. If a menu has moved, the section names are still the ones to look for.
Runs in your browser — nothing is uploaded
rtmp://a.rtmp.youtube.com/live220 characters in five groups, e.g. abcd-1234-efgh-5678-ijkl
Things that trip people up on YouTube
- Live streaming must be enabled on the channel — new channels verify a phone number and wait up to 24 hours.
- Streaming to your default key starts the broadcast right away unless you scheduled an event first.
- RTMPS is available at rtmps://a.rtmps.youtube.com:443/live2 if your network requires encryption.
- StreamRove can read this key for you: connect YouTube once and it is fetched over the YouTube API.
Encoder settings YouTube accepts
- Resolution
- 1920 × 1080
- Frame rate
- 60 fps
- Video bitrate
- 9,000 kbps(max 12,000)
- Audio bitrate
- 128 kbps
- Keyframe
- 2 s
Connect YouTube in one click
StreamRove reads the key over YouTube's API — nothing to copy, and it keeps working after you reset the key.
Set up multistreamingWant to send one encoder feed to several platforms? Create a stream, then connect your channels with their own keys or account connections.
Set up multistreamingWhere to find the YouTube stream key
- 01
Open YouTube Studio
Go to studio.youtube.com, click Create (top right) → Go live. New channels have to enable live streaming first and wait up to 24 hours for YouTube to switch it on.
- 02
Choose Streaming software
In the Go live screen pick Stream (streaming software), not Webcam. The Stream settings panel appears on the right.
- 03
Copy the stream key and URL
The key is hidden by default: click Reveal, then Copy. The Stream URL is rtmp://a.rtmp.youtube.com/live2 for every channel; the backup server is rtmp://b.rtmp.youtube.com/live2?backup=1.
- 04
Optional: create a named key
Under Select stream key → Create new stream key you can name keys and pick a resolution and latency profile. A named key is easier to rotate than the default one.
YouTube stream key not working?
Copy it again
A trailing space or a key reset since you last copied it are the usual causes of "invalid stream key". Copy straight from the YouTube dashboard into the key field.
Check the URL field
The server URL and the key go in two separate fields. A key pasted after the URL, or a URL from an old tutorial, both fail to connect.
Look for a Go live button
If the encoder says connected but nothing appears on YouTube, the broadcast may be waiting in a preview state for you to publish it from the dashboard.
Reset it if in doubt
If the key was ever visible on screen or shared, reset it on YouTube and update your encoder. Anyone holding the old key could stream as you.
Why paste it into StreamRove instead of straight into OBS
One feed, every platform
OBS sends a separate copy of your stream to each destination. StreamRove receives one copy and forwards it to YouTube and everywhere else — your upload does not grow.
Stored once, encrypted
The key is saved as a destination, encrypted at rest, and reused for every broadcast. No hunting through YouTube's menus before each show.
Something watching
A live 0–100 health score and per-destination diagnostics tell you when YouTube stops receiving — and why — instead of a viewer telling you in chat.
This page is documentation
Your YouTube stream key is never entered on this page. Paste it only into your encoder, or into StreamRove as a destination, where it is stored encrypted.
YouTube plus everywhere else, from one stream
Add YouTube as a destination in StreamRove and put YouTube, Twitch, Kick and the rest next to it. One encoder, one bitrate, every platform live at the same moment.
Good habits with a YouTube stream key
- Never show your YouTube settings page on stream — the key is usually visible on it.
- Reset the key on YouTube if you ever share a screenshot of your encoder.
- Use a private or unlisted test broadcast the first time a new key is used.
- Keep the encoder's keyframe interval at 2 seconds — it is what YouTube and every other platform expect.
Frequently asked questions
Where is my YouTube stream key?
In YouTube's own dashboard, never in your encoder — follow the steps above to reach it. Copy it from there into OBS, or into StreamRove once.
Is my YouTube stream key secret?
Yes. Anyone with the server URL and the key can broadcast on your YouTube channel. Never show it on stream and reset it if it leaks.
What is the difference between the stream URL and the stream key?
The URL is the YouTube server address that every streamer sends to; the key is the part that says which channel the video belongs to. Encoders ask for them separately.
Can I stream to YouTube and other platforms at the same time?
Yes. Add YouTube as a destination in StreamRove and add the others beside it — one encoder feed, every platform live at once, without multiplying your upload.