Why convert REPLIT to TOML?
The .replit project-configuration file (the run command, entrypoint, [env] section, and similar keys) is stored in .TOML syntax by design, and Replit's own editor uses a TOML language server (Taplo) to edit it. Because the two are the same underlying format, there is no data transformation to perform - the request usually means someone wants the same settings under a plain .toml name.
How to convert REPLIT to TOML
Rename the file EASIEST
Because the contents are already valid TOML, just copy .replit to config.toml (cp .replit config.toml). Nothing inside the file needs to change.
Any text editor
Open .replit in VS Code, Notepad, or Replit's built-in editor to confirm it is TOML, then save-as with a .toml extension if a validator requires one.
Taplo TOML CLI
Run taplo format .replit to lint or pretty-print the file as TOML and confirm it is syntactically valid before renaming.
About these formats
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…
Open .REPLIT details →A .TOML file is associated with TOML source code, a developer file.
Open .TOML details →Quality & what to watch
.replitand.tomlare the same syntax, so renaming does not lose or change any data.- Replit itself only reads the file when it is named
.replit; a renamed.tomlcopy will not drive your Repl. - Some
.replitkeys are Replit-specific and are meaningless to other TOML consumers, even though they parse fine.
Frequently asked questions
Is a `.replit` file the same as a TOML file?
Do I need a converter to turn `.replit` into `.toml`?
Will renaming `.replit` to `.toml` break my Repl?
.replit, so keep the original and work on a copy.Why does my `.toml` copy not work on Replit?
.replit filename. Keep your settings in .replit; a .toml copy is just for external tools.