JSON · Gratuit · Sur votre appareil

Corrupt a JSON File Online

Corrupt a .json file online for free. Breaks bracket structure and injects invalid UTF-8 so every JSON parser rejects the file.

  • Aucun envoi
  • Aucune limite de taille
  • Aucune inscription

Corrompez votre fichier JSON

Réglé pour .json, .jsonl, .geojson, et fonctionne tout aussi bien avec n'importe quel autre format.

100 % sur votre appareil
Déposez vos fichiers ici ou parcourez Tout format, toute taille, plusieurs fichiers à la fois
Niveau de corruption

Traitement…0%
Prêt à télécharger

Pourquoi les fichiers JSON sont difficiles à corrompre correctement

JSON has no header and no index. It is validated purely by grammar. That makes it easy to break and hard to break convincingly: replacing characters at random often produces something a lenient parser still accepts, or something so obviously mangled it reads as a text edit rather than corruption.

Ce que cet outil détruit

  • Structural characters. Braces, brackets, commas and quotes are overwritten, so the document can no longer be balanced.
  • Invalid UTF-8. Byte sequences that are not valid UTF-8 are injected, which fails at the decoding stage before parsing even begins.
  • The opening bytes. The start of the document is destroyed, so streaming parsers fail on the very first token.
  • The tail. The closing bytes are replaced, leaving the document permanently unterminated.

Ce que vous verrez ensuite

ApplicationComportement
JSON.parse()Throws SyntaxError: Unexpected token immediately.
Python json.load()Raises JSONDecodeError or UnicodeDecodeError.
jq"parse error: Invalid numeric literal" and a non-zero exit code.
Postman / API clientsReject the body as malformed before sending.

Raisons courantes de le faire

  • Testing that an API rejects a malformed request body with a clean 400 rather than a 500.
  • Verifying a config loader fails fast instead of running with partial settings.
  • Building malformed fixtures for a parser fuzzing corpus.
  • Checking that a data import job reports the failing file rather than dropping records silently.

Comment corrompre un fichier JSON

  1. Déposez votre fichier .json dans la zone ci-dessus, ou cliquez pour parcourir.
  2. Laissez le niveau sur Standard, sauf si vous voulez des dommages partiels (Light) ou devez mettre en échec un logiciel de récupération (Heavy).
  3. Cliquez sur Corrompre le fichier. Le traitement a lieu sur votre appareil, il se termine donc presque instantanément.
  4. Téléchargez le résultat. Par défaut, il conserve le nom de fichier et la longueur en octets d'origine.

Questions fréquentes sur JSON

Why not just delete a closing brace?

Because that is a hand edit, not corruption. It is trivially spotted and trivially fixed. Injecting invalid UTF-8 alongside structural damage makes the file fail at the byte level, the way a truncated transfer actually fails.

Will a lenient parser still read it?

No. At Standard level the file is not valid UTF-8, so even parsers that tolerate trailing commas or comments fail before they reach the grammar.

Does it work on JSON Lines and NDJSON?

Yes. Line-delimited formats use the same text profile, and the injected bytes break individual records as well as the file as a whole.

Can I get a file that is only slightly broken?

Yes. Light level touches roughly 0.5% of the payload, which usually produces a file that fails at one specific offset rather than everywhere.

Utilisez ceci de façon responsable. Files Corrupter est conçu pour les tests logiciels, la QA, la recherche, la formation et l'enseignement. Remettre un fichier délibérément corrompu pour faire passer un travail pour terminé peut enfreindre le règlement de votre établissement ou de votre employeur. Vous êtes responsable de l'usage que vous faites du résultat. Consultez notre avertissement.

Autres outils code & data

Tous les outils de corruption