Skip to content

Loading the editor only when it is ready

Bash Properties to JSON Converter

Convert Bash export statements into plain JSON. Each export KEY=VALUE line becomes a key-value pair in the resulting JSON object.

Use Cases

  • Config Portability — Move shell config into structured JSON format
  • Documentation — Generate readable JSON from shell environment dumps
  • Cross-Platform — Bridge shell-based configuration into JSON-native tooling
  • Migration — Convert legacy shell export scripts to JSON config files

Example

Input (Bash):

export DATABASE_HOST='localhost'
export DATABASE_PORT='5432'
export APP_NAME='MyApp'

Output (JSON):

{
  "DATABASE_HOST": "localhost",
  "DATABASE_PORT": "5432",
  "APP_NAME": "MyApp"
}