Tired of manually quoting keys, wrapping string values, and formatting messy copy-pasted logs into valid JSON structures?
Selection to JSON Exporter instantly cleans up raw, unquoted text strings directly inside your active workspace with a single right-click context menu command.
🔥 Key Features
- Zero-Config Formatting: Transform
name: Mohammed, role: engineerinto valid structured JSON automatically. - Smart Value Wrapping: Automatically detects and wraps raw strings while correctly leaving booleans (
true/false) and numerical values unquoted. - Auto-Indentation: Outputs beautifully structured, human-readable JSON using standard 2-space line spacing.
- Lightweight Performance: Bundled using
esbuildfor an ultra-fast runtime footprint under 2 KB.
🕹️ How to Use It
- Highlight any raw, comma-separated key-value sequence or messy text structure in your file.
- Right-click the selected highlight block.
- Select Export Selection to JSON from the context menu dropdown.