Skip to main content

Sharing Your Repl

One of the great parts about Replit is that everything you make can be shared with the world. Since your code is hosted in the cloud, it's as simple as one click!

There are a few ways to share your Repl, we'll cover them here.

warning
  • Join links grant edit access to your Repl, so be careful who you share them with.
  • Join links share secrets stored in the "Secrets" pane. For sharing a Repl as you would a Repo or other code, take a look at making your Repl public.

To collaborate with your friends on your Repl, you can create a Join Link. Join Links create a unique URL that you can share with others. When they click the link, they'll be taken to your Repl and can start coding with you in real time.

Join Links are private by default, so only people with the link can access your Repl.

If you accidentally share your link with someone you didn't mean to, you can always regenerate a new one. to create a new join link, click the "Invite" button in the top right corner of your Repl.

Simply toggle the Join Link to "On" and copy the resulting URL. When your friends with an active Replit account navigate to that URL, they'll be able to edit your Repl in real time.

You'll also receive a notification when someone joins your Repl.

Make your Repl Public

note

Making your Repl public will not expose any secrets you've saved in the "Secrets" pane. However, it will expose any code you've written, so be careful about sharing sensitive information.

Head over to your Repl and click the name in the top left corner. This will open up the settings for your Repl.

Now, you can toggle the Repl to be public or private.

Making your Repl public will allow anyone to view your code and run your project. It creates a unique URL that you can share with anyone, like this: https://replit.com/@replit/Python?v=1.

Create a template

After you've made your Repl visible, you should consider turning it into a template.

Creating a template makes it easy for others to start their own project based on your code. It will improve the discoverability of your Repl and surface it on pages like https://replit.com/templates.

To lean more about templates and create your own, you can read more here.

Was this helpful?