YouTube oEmbed

www.youtube.com

YouTube is a registered oEmbed provider. Consumers such as WordPress, Slack, and other CMS or chat platforms can call its oEmbed endpoint to turn YouTube URLs into rich embeds — without writing custom integration code. Below are the endpoint details, supported URL patterns, and response formats for YouTube.

1
Endpoint
10
URL patterns
json
Format
Yes
Discovery
Endpoint
https://www.youtube.com/oembed
Supported URL patterns
https://*.youtube.com/watch* https://*.youtube.com/v/* https://youtu.be/* https://*.youtube.com/playlist?list=* https://youtube.com/playlist?list=* https://*.youtube.com/shorts* https://youtube.com/shorts* https://*.youtube.com/embed/* https://*.youtube.com/live* https://youtube.com/live*
Formats: json Link-tag discovery enabled

Test a YouTube URL

See the live oEmbed response and a rendered preview.

Open URL Tester