Skip to main content
Glama

format_json

Format and prettify JSON strings with proper indentation and customizable spacing to improve readability and structure.

Instructions

Format and prettify JSON with proper indentation. Example: {"a":1,"b":2} → formatted JSON with customizable spacing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsonYesJSON string to format
indentNoNumber of spaces for indentation

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrenchpilot/it-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server