Word & Character Counter
Count words, characters and lines and estimate reading or speaking time from selected words-per-minute speeds.
Format or minify valid JSON, validate input syntax or generate sample JSON records locally.
Format, validate or minify JSON, or generate a small sample-record array. Formatting changes whitespace around JSON values; it does not make an invalid object valid by guessing the missing syntax.
Example: Format {"name":"Example","value":42} to see the same two properties with indentation. An object containing an unquoted name key is rejected.
How it works: Formatting parses JSON and serialises the parsed value with indentation; minifying serialises without optional whitespace. Sample mode creates objects with id, name, value and active fields. Numeric values use JavaScript number precision.
Formatting validates JSON syntax and changes whitespace, not the meaning of the data. Sample-record mode creates fictional records for development. A successful syntax check does not establish that the object matches your application's schema.
Formatting and minifying parse the same JSON value and change its serialization. Sample-record mode creates demonstration records independently of the pasted JSON.
The valid object {"a":1} can be pretty-printed or minified without changing its a property. The text {a:1} is rejected because JSON keys require quotes.
No. An API may additionally require particular fields, types, limits or authentication. This tool checks syntax and produces formatted data.
Guidance updated . Methods and corrections
References: rfc-editor.org
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.