.REPLIT

REPLIT File

Replit Project Configuration File
Ask a question
QUICK ANSWER

A .replit file is the project configuration file for a Replit App. It is a plain-text TOML file that tells the Replit runtime which file to open, what command the Run button executes, which language modules to load, and how the app deploys. You can view and edit it directly in the Replit web IDE, or open it in any text editor such as Visual Studio Code since it is just readable text.

Developer: Replit, Inc. Category: Settings Files Open standard MIME: application/toml
OPENS ON Windows macOS Linux Web
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Aug 24, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the REPLIT file format?

A .replit file is the configuration file for a project on the Replit online development platform, where projects are called Apps or Repls. It is written in .toml, a plain-text configuration format, and it lives in the root folder of the project. Replit hides it in the file tree by default, so you reveal it with the Show hidden files option.

The file tells the Replit runtime how the project behaves. Its entrypoint key sets the file opened in the editor, run defines the command the Run button executes, and modules pins the language and toolchain versions. Named tables such as [nix], [deployment], [[ports]], [unitTest], and [packager] handle system packages, deployment targets, port mappings, tests, and package management. The run value can be a plain string, an array of arguments, or an object for finer control.

The .replit file works next to replit.nix, which declares system dependencies through the Nix package manager. Together they describe both the app and its environment. Replit, Inc. develops and reads the format, and since 2023 the web editor offers autocomplete and inline docs for .replit files through the Taplo TOML language server.

Security & safety

RISK: LOW

A .replit file is plain-text TOML that stores configuration only; it contains no executable binary code. The main caution is that its run and deployment commands invoke real programs, so an untrusted .replit file could launch unwanted commands when a project is opened and run in Replit. Review the run, compile, and deployment keys before running an imported project. Do not store secrets or API keys in .replit; Replit provides a separate secrets manager for that.

Format details

in a nutshell
FULL NAMEReplit Project Configuration Fileaka dot-replit file, Replit config file
DEVELOPERReplit, Inc.since 2016
MIME TYPEapplication/toml
TYPEText (TOML)
STANDARDOpen · royalty-free

Programs that open REPLIT files

Windows3 apps
Sublime Text Paid Open the file and use a TOML syntax package to highlight the configuration keys.
Notepad Open-source Open .replit as a plain-text file to read or change its keys quickly.
Visual Studio Code Free Open the project folder and edit .replit directly; install the Even Better TOML extension for syntax highlighting and schema validation.
macOS2 apps
BBEdit Freemium Open .replit as text to inspect and change the run and deployment settings.
Visual Studio Code Free Open the project folder, reveal hidden dotfiles, and edit .replit with the Even Better TOML extension.
Linux3 apps
Vim Open-source Run vim .replit to edit the configuration; Vim detects TOML syntax automatically.
GNU Nano Open-source Run nano .replit in a terminal to view or edit the file in place.
Visual Studio Code Free Open the project directory and edit .replit; add the Even Better TOML extension for validation.
Web1 app
Replit Freemium Open the Replit App in the browser IDE, choose Show hidden files in the file tree menu, then click the .replit file to edit it with autocomplete and inline documentation.

Technical details

deep spec
EncodingUTF-8 plain text
Byte orderN/A (text file)
ContainerNone; single flat TOML document
Typical sizeUnder 2 KB
StructureTOML document with top-level keys (entrypoint, run, modules, hidden, compile, language, audio) and named tables such as [nix], [deployment], [[ports]], [unitTest], [packager], and [run.env]. The run and deployment run values may be a string, an array of arguments, or an object.
IntegrityNone built in
PlatformsWeb (Replit platform), Linux (Nix-based Replit runtime), Windows, macOS
NotesThe file lives in the root of a Replit App and is hidden by default in the file tree. It pairs with replit.nix, which declares system packages via the Nix package manager. Since 2023 Replit provides autocomplete and inline documentation for .replit files through the Taplo TOML language server, driven by a JSON Schema generated from Replit's Go type definitions.
Run Command FormsString, array of strings (command plus arguments), or object
Reader SoftwareReplit runtime and cloud IDE; any TOML parser can read the syntax
Released2016
Latest versionTOML-based schema (validated via Taplo LSP)
Open standardYes · royalty-free
Specificationdocs.replit.com

REPLIT conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with REPLIT files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about REPLIT files.

Frequently asked questions

How do I open a .replit file?
Inside Replit, choose Show hidden files in the file tree menu and click .replit to edit it. Outside Replit, open it in any text editor such as Visual Studio Code, since it is plain-text TOML.
Why is the .replit file hidden?
Replit hides dotfiles in the file tree by default to keep the workspace uncluttered. Use the Show hidden files option in the file tree menu to reveal it.
What is the difference between .replit and replit.nix?
The .replit file configures how the app runs, deploys, and which language modules load, using TOML. The replit.nix file declares system packages through the Nix package manager. They work together but are not interchangeable.
Can I edit the .replit file directly?
Yes. You can edit it in the Replit IDE, which offers autocomplete and inline documentation through the Taplo language server, or in any external text editor.
What does the run field in .replit do?
It sets the command the Run button executes. It can be a single string, an array of the command plus its arguments, or an object for more detailed control.
Is it safe to run a project with someone else's .replit file?
The file itself is text, but its run and deployment commands execute real programs. Read those keys before running an imported project so you know what commands will launch.

References

1Replit Docs - Configuring a Replit App (.replit)docs.replit.com
2Replit Blog - Easier Editing for .replit Filesreplit.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.PRO6XProPresenter 6 Bundle File
10.PRDXSoftMaker Presentations Document

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z