TOML Search & Replace

Replace across the whole document, keys only, or string values. Preview changed lines before applying. Regex uses the browser RegExp engine with timeout and size guards — not Re2.

Parsing and conversion on this page run in your browser.

Regex uses the browser RegExp engine; catastrophic backtracking times out. Preview first, then apply.

All templates

Preview

How to use

Example

[package]
name = "demo-lib"
version = "0.1.0"
edition = "2021"
description = "Sample library manifest"
license = "MIT"

[dependencies]
serde = "1"

[features]
default = ["std"]
std = []

FAQ

How does “keys only” work?

Lines that look like key = value are matched heuristically; only the left-hand side is rewritten. Headers and comments are skipped.

Is the result validated as TOML?

Not during preview. After applying, use Format to validate.

Related tools