The dev toolkit,
now in your terminal.
DBridge CLI brings every browser tool to your shell — convert, format, generate, encode and inspect. One command. Natural syntax. Zero ceremony.
Natural syntax
Reads like English. No flags soup.
Local-first
Runs offline. Your data never leaves your machine.
One binary
Single 8 MB executable. No runtime needed.
Pipeable
Streams stdin/stdout. Use it in any pipeline.
Commands
Every tool, one command away.
Verbs you already know — convert, format, hash, encode. Run dbridge --help any time.
01Convert
Transform files between formats
$ dbridge convert sales.xlsx to jsonExcel → JSON
$ dbridge convert data.xlsx to csvExcel → CSV
$ dbridge convert config.json to yamlJSON → YAML
$ dbridge convert config.yaml to jsonYAML → JSON
$ dbridge convert data.csv to jsonCSV → JSON
$ dbridge convert data.json to csvJSON → CSV
$ dbridge convert data.xml to jsonXML → JSON
$ dbridge convert schema.sql to erdSQL → ERD diagram (SVG)
$ dbridge convert markdown.md to htmlMarkdown → HTML
$ dbridge convert schema.json to zodJSON → Zod schema
$ dbridge convert data.json to sqlJSON → CREATE TABLE + INSERTs
$ dbridge convert schema.sql to prismaSQL → Prisma schema
$ dbridge convert schema.sql to mermaidSQL → Mermaid erDiagram
$ dbridge convert schema.graphql to tsGraphQL → TypeScript types
$ dbridge convert config.toml to jsonTOML → JSON
$ dbridge convert "curl ..." to fetchcURL → fetch / axios / Python
02Format
Beautify and validate code
$ dbridge format query.sqlFormat SQL with dialect detection
$ dbridge format data.jsonPretty-print JSON
$ dbridge format data.xmlFormat XML with indentation
$ dbridge format page.htmlFormat / minify HTML
$ dbridge format data.csvFormat CSV file
$ dbridge format styles.css --minifyMinify CSS
$ dbridge format script.js --minifyMinify JavaScript
$ dbridge lint docker-compose.ymlLint a docker-compose.yml
$ dbridge openapi validate openapi.jsonValidate OpenAPI spec
03Generate
Create fake data, IDs, secrets, schemas
$ dbridge fake users --count 100Generate 100 fake users
$ dbridge uuid --count 5Generate 5 UUIDs (v4)
$ dbridge password --length 32Strong random password
$ dbridge lorem --words 50Lorem ipsum text
$ dbridge qr "https://dbridge.dev" --pngGenerate QR code (PNG)
$ dbridge slug "Hello World!"URL-friendly slug
$ dbridge readme github.com/user/repoGenerate README from repo
$ dbridge gitignore node,python,macos.gitignore from templates
$ dbridge schema sample.jsonJSON Schema (draft-07)
$ dbridge seed schema.sql --rows 50INSERT statements with fake data
$ dbridge rsa keygen --bits 2048RSA keypair (PEM)
$ dbridge csp build --report-onlyContent-Security-Policy header
04Encode & Hash
Encoding, hashing, JWT, signatures
$ dbridge encode "secret" --base64Base64 encode
$ dbridge decode "c2VjcmV0" --base64Base64 decode
$ dbridge hash "hello" --sha256SHA-256 hash
$ dbridge hmac "msg" --key K --sha256HMAC signature
$ dbridge bcrypt "password" --rounds 12Bcrypt hash
$ dbridge jwt decode <token>Decode JWT
$ dbridge jwt verify <token> --secret KVerify JWT signature
$ dbridge jwt sign payload.json --secret KSign JWT
$ dbridge cert decode site.pemDecode X.509 certificate
05Clean & Inspect
Clean data, diff, inspect resources
$ dbridge clean data.csv --dedupRemove duplicate rows
$ dbridge profile data.csvPer-column type / null / unique stats
$ dbridge diff old.json new.jsonJSON diff
$ dbridge diff a.sql b.sql --schemaGenerate ALTER migrations
$ dbridge dns dbridge.devDNS lookup
$ dbridge ip 8.8.8.8IP geo lookup
$ dbridge cidr 10.0.0.0/24CIDR range calculator
$ dbridge env parse .env --maskParse .env (mask secrets)
$ dbridge cron explain "*/5 * * * *"Explain cron + next runs
$ dbridge regex test "pattern" "input"Test regex pattern
$ dbridge sql explain query.sqlPlain-English SQL explanation
Configuration
Configure once, forget about it.
Set defaults in ~/.dbridgerc or per-project in dbridge.config.json. Override any value with a flag.
Common flags
--output, -oPath for the output file--format, -fOverride output format (json, yaml, csv, xml)--indentIndent size for formatters (default: 2)--quiet, -qSuppress success messages--jsonPrint structured JSON to stdout--help, -hShow help for any command--version, -vPrint CLI version{
"defaults": {
"indent": 2,
"format": "pretty",
"output": "./out"
},
"convert": {
"csv": { "delimiter": ",", "header": true },
"yaml": { "lineWidth": 80 }
},
"fake": {
"locale": "en_US",
"seed": 42
},
"aliases": {
"f": "format",
"c": "convert",
"qr": "qr"
}
}Tip: run dbridge config init to scaffold a starter file in your project root.
Composable
Pipe it. Script it. Ship it.
Every command reads from stdin and writes to stdout. Chain them with classic Unix tools.
# Fetch JSON, format it, save as YAML $ curl -s api.example.com/data | dbridge format | dbridge convert to yaml > data.yaml # Generate 1000 fake users and pipe to your seed script $ dbridge fake users --count 1000 | node scripts/seed.js # Hash every file in a directory $ find . -type f | xargs -I{} dbridge hash {} --sha256
Get started in 30 seconds.
Install with one command. No accounts. No keys. No telemetry.