Updated on August 2, 2026easy, ~2 min
How to Embed Replit in Notion
Replit is one of Notion's supported embed sources, so a repl URL renders as a working environment rather than a link. Copy the repl's address, type /embed on a Notion page, paste it, and click "Embed link". Readers get the code and a run button inside the block, which makes it a good fit for teaching material where the point is that someone actually executes the example.
Why embed Replit in Notion?
- Let a reader run an example instead of reading about what it would print.
- Build a lesson page where each step has its own runnable snippet.
- Share a reproducible bug case that does not need anyone to set up an environment.
Replit and Notion: what the embed can do
Notion lists Replit among its supported embeds, so there is no connector and no embed code. The repl loads in the block and can be run there. It has to be public for other people to see it, and running code inside a small frame is a cramped experience, so this works best for short examples rather than whole projects.
How to embed Replit in Notion
Make the repl public
Open the repl on replit.com and check that it is public. Private repls will not load for anyone else, and the Notion block will look broken to your readers even though it works for you.
Copy the repl URL
Copy the address from your browser. It looks like https://replit.com/@username/project-name.
Paste it into Notion
Type /embed on your Notion page, press Enter, paste the URL, and click "Embed link". The repl loads inside the block.
Give it plenty of height
Make the block tall. The embed has to fit an editor, a file list, and an output pane, and a short block makes all three unusable.
Good to know
- Private repls do not render for other readers, so anything you share has to be public.
- The embed is cramped compared with Replit itself. Short, single-file examples work far better than multi-file projects.
- Repls that need a long cold start leave the block loading for a while before anything appears.
- Anything a reader types into the embed belongs to their own session and does not change your repl.
Frequently asked questions
How do I embed a Replit project in Notion?
Make the repl public, copy its URL, then type /embed in Notion and paste it. Replit is a supported embed source, so the project loads ready to run in the block.
Can readers run the code from Notion?
Yes. The embedded repl includes the run control, so a reader can execute the example without leaving the page or creating an account.
Why does my Replit embed show nothing?
Usually because the repl is private. Switch it to public and reload the Notion page. It is worth checking in a private browser window, since your own session hides the problem.
Need a widget that doesn’t exist yet?
Describe it in plain English and generate a custom Notion widget with a stable embed link — no code required.
Create a widget