# Introduction - sing-box
The universal proxy platform.
Author: nekohasekai

Skip to content

# Introduction

sing-box uses JSON for configuration files.

### Structure

    {
      "log": {},
      "dns": {},
      "ntp": {},
      "certificate": {},
      "certificate_providers": [],
      "http_clients": [],
      "endpoints": [],
      "inbounds": [],
      "outbounds": [],
      "route": {},
      "services": [],
      "experimental": {}
    }

### Fields

Key | Format
--- | ---
`log` | Log
`dns` | DNS
`ntp` | NTP
`certificate` | Certificate
`certificate_providers` | Certificate Provider
`http_clients` | HTTP Client
`endpoints` | Endpoint
`inbounds` | Inbound
`outbounds` | Outbound
`route` | Route
`services` | Service
`experimental` | Experimental

### Check

    sing-box check

### Format

    sing-box format -w -c config.json -D config_directory

### Merge

    sing-box merge output.json -c config.json -D config_directory