Ask coding questions

← Back to all posts
how to embed replit.com in website?(using iframes)
h
awdrgyjil1234 (36)

I was wondering how to embed replit.com in website using iframes. i know its possible because i saw it before but i wanna know the code

Comments
hotnewtop
Coder100 (17613)

You can't. The have cors blocking it.

However, you can embed specific parts of the site, like repls:
https://docs.replit.com/repls/embed

awdrgyjil1234 (36)

@Coder100 but i saw an example where the whole site was through iframes

Coder100 (17613)

not anymore they blocked it @awdrgyjil1234

awdrgyjil1234 (36)

@Coder100 they did? but i saw it on a chat app on repl.co

Coder100 (17613)

yes that's repl.co

all you do is embed the link, like:

<iframe src="coder100.repl.co"></iframe>

and as you may know that is not part of replit
@awdrgyjil1234