CodeSandbox oEmbed

codesandbox.io

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

1
Endpoint
2
URL patterns
json
Format
No
Discovery
Endpoint
https://codesandbox.io/oembed
Supported URL patterns
https://codesandbox.io/s/* https://codesandbox.io/embed/*
Formats: json

Test a CodeSandbox URL

See the live oEmbed response and a rendered preview.

Open URL Tester