# Format JSON for Raycast

URL: https://www.raycast.com/destiner/json-format

> Formats a JSON file with a selected indentation. If the JSON is stringified, it will be parsed before formatting.

- Install: raycast://extensions/destiner/json-format
- Author: [Timur Badretdinov](https://www.raycast.com/destiner)
- Installs: 105,922
- Platforms: macOS, Windows
- Categories: Data, Developer Tools
- Updated: 2026-10-09
- Source: https://github.com/raycast/extensions/tree/c33bf4cb4b9ad70c2b93432ee713ffb7486ed331/extensions/json-format/

## Commands

- **Format Clipboard JSON**: Formats a JSON/JS Object string stored in clipboard and copies/pastes it back
- **Format Selected JSON**: Formats a JSON/JS Object string selected in the foremost editor and copies/pastes it back
- **Format Selected JSON and Show**: Formats a JSON/JS Object string selected in the foremost editor and shows it in the viewer
- **Format JSON**: Formats a JSON/JS Object
- **Format Array of JSON to JSONLines**: Formats an array of JSON/JS Object to JSONLines
- **Format Text into Valid JSON Value**: Formats text into a valid JSON value with double quotes and escapes
