# JSON validator

> Check JSON syntax and see parsing errors.

[Open tool](https://www.toolcabana.com/af/json-validator) · [Ontwikkeling en data](https://www.toolcabana.com/af/category/developer-and-data)

Tool ID: json-validator. Requested language: af. Description language: en. Complete guide translation: no; untranslated sections use English.

## Overview (en)

JSON validator checks whether your text is valid JSON and reports the line and column of the first syntax error. Valid input returns the root type and its size in UTF-8 bytes. When the only problem is trailing commas, it offers a repaired candidate you can download as repaired.json while leaving your original text unchanged.

## Supported tasks (en)

Reports the line and column of invalid JSON. When the only problem is a trailing comma outside a string, a repaired candidate is offered and the original input stays unchanged.

## Steps (en)

1. Type or paste your source, or load an example.
2. Results update automatically as you edit.
3. Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.

## Settings

No additional settings.

## Limitations (en)

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Example input

```text
{"name":"ToolCabana","count":2}
```

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### How do I find where my JSON is broken?

Paste the JSON and run the validator. If parsing fails, the error message starts with the line and column where the problem was detected, followed by the parser message describing what was unexpected.

### Can the JSON validator fix trailing commas?

Yes, but only that case. If removing commas that sit outside strings makes the JSON valid, it shows the repaired candidate and a download. Any other error is reported without a repair.

### Why is my JSON with a very large number rejected?

Integers outside the exact range of -9,007,199,254,740,991 to 9,007,199,254,740,991 are rejected because they would be rounded. Store large IDs or amounts as quoted strings to keep every digit.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Related tools

- [JSON formatter](https://www.toolcabana.com/af/json-formatter)
- [JSON minifier](https://www.toolcabana.com/af/json-minifier)
- [JSON diff](https://www.toolcabana.com/af/json-diff)
- [JSON to CSV](https://www.toolcabana.com/af/json-to-csv)
