YAML · Gratuit · Sur votre appareil

Corrupt a YAML File Online

Corrupt a .yaml or .yml file online for free. Breaks indentation and encoding so config parsers reject the file outright.

  • Aucun envoi
  • Aucune limite de taille
  • Aucune inscription

Corrompez votre fichier YAML

Réglé pour .yaml, .yml, 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 YAML sont difficiles à corrompre correctement

YAML is whitespace-significant, which makes it unusually fragile in production and unusually interesting to test. A single wrong indent changes the meaning of a document rather than breaking it, so config loaders that do not validate strictly can silently run with the wrong settings.

Ce que cet outil détruit

  • Indentation. Leading whitespace is overwritten, collapsing the nesting that gives YAML its structure.
  • Key/value separators. Colons and dashes are destroyed, so mappings and sequences no longer parse.
  • Document markers. The --- separators that divide multi-document files are broken up.
  • Encoding validity. Invalid UTF-8 sequences cause a failure before the parser reaches the grammar.

Ce que vous verrez ensuite

ApplicationComportement
PyYAML / ruamelRaises ScannerError or ParserError with a line and column.
Kubernetes kubectl apply"error converting YAML to JSON" and the manifest is rejected.
Docker ComposeRefuses to start and reports the offending line.
CI configurationThe pipeline fails at the configuration parsing stage before any job runs.

Raisons courantes de le faire

  • Testing that a service refuses to start on a malformed config rather than using defaults.
  • Verifying a CI pipeline fails loudly on a broken manifest.
  • Checking that a config validation step actually runs before deployment.
  • Producing malformed manifests for an infrastructure test suite.

Comment corrompre un fichier YAML

  1. Déposez votre fichier .yaml 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 YAML

Why is YAML corruption worth testing?

Because whitespace damage can change meaning instead of causing an error. A loader that does not validate strictly may start with subtly wrong settings, which is far worse than a clean failure.

Will it break multi-document files?

Yes. The --- separators are among the structures destroyed, so documents run together.

Does it work on .yml as well as .yaml?

Yes. Both extensions use the same profile.

Can I get a file that parses but is wrong?

Light level sometimes produces this, but it is not guaranteed. Corruption is random rather than semantically targeted.

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