Skip to main content
Stackbastion

Replit: code export, hosting, database and security

Online development environment with an AI agent that builds and publishes apps. It includes a database, auth and hosting.

Visit Replit · Last checked:

Facts from Replit's public docs

Can you export your code from Replit?

Yes

Download the project as a zip from the file tree menu. The docs also show a shell command for it.

Source: docs.replit.com · Checked 14 November 2026

Does Replit sync with GitHub?

Yes

You can import a repository from GitHub and push code back to it. The docs we read do not describe it as automatic two-way sync.

Source: docs.replit.com · Checked 14 November 2026

What database does a Replit app use?

PostgreSQL, with production databases on Neon

Development uses a PostgreSQL database that Replit manages. Production databases run on Neon, a managed PostgreSQL provider. You do not need a separate Neon account.

Source: docs.replit.com · Checked 14 November 2026

Can you export your data from Replit?

Not confirmed. We couldn't find this in Replit's public docs.

Where is a Replit app hosted?

Replit hosts it

Apps publish as Autoscale, Reserved VM, Static or Scheduled deployments. The page does not name the cloud provider.

Source: docs.replit.com · Checked 14 November 2026

Can you use your own domain with Replit?

Yes

You can buy or connect a domain in the Domains tool. The pages we read do not say which plans include it.

Source: docs.replit.com · Checked 14 November 2026

Can you run a Replit app on your own server?

Not confirmed. We couldn't find this in Replit's public docs.

Are Replit projects public by default?

Not confirmed. We couldn't find this in Replit's public docs.

Is row level security on by default in Replit apps?

Not confirmed. We couldn't find this in Replit's public docs.

Does Replit have a built-in security scan?

Yes

Dependency scans check packages against public vulnerability records. Agent security scans review source code. A deeper scan is offered as an add-on at publish.

Source: docs.replit.com · Checked 14 November 2026

Where does Replit store app data?

North America by default, EU on paid plans

Free apps publish to North America. Core, Pro and Enterprise can choose the EU for publishing. The publishing choice is permanent for that app.

Source: docs.replit.com · Checked 14 November 2026

Documented security incidents

  • AI agent deleted a production database (July 2025)

    During a trial, and despite a code freeze, Replit's agent deleted production records for SaaStr. Replit's CEO promised automatic separation of development and production databases.

    Source: www.theregister.com

All eight cases, with a check for each

Running a Replit app on your own hosting

Download the project as a zip or push it to GitHub, then deploy it to a host of your choice. We did not find a Replit guide for this. Check for Replit-specific pieces first: its database, auth and secrets need replacing with your own.

Related posts

Stackbastion is not affiliated with Replit. Names belong to their owners. Back to the builder directory