YAML · Бесплатно · На устройстве

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.

  • Без загрузки на сервер
  • Без ограничения размера
  • Без регистрации

Испортите свой файл YAML

Настроено под .yaml, .yml, и так же работает с любым другим форматом.

100% на устройстве
Перетащите файлы сюда или выберите Любой формат, любой размер, несколько файлов сразу
Уровень порчи

Выполняется…0%
Готово к загрузке

Почему файлы YAML трудно испортить как следует

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.

Что разрушает этот инструмент

  • 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.

Что вы увидите после

ПриложениеПоведение
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.

Частые причины это сделать

  • 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.

Как испортить файл YAML

  1. Перетащите файл .yaml в поле выше или нажмите, чтобы выбрать.
  2. Оставьте уровень Standard, если вам не нужно частичное повреждение (Light) или победа над программами восстановления (Heavy).
  3. Нажмите Испортить файл. Обработка идёт на вашем устройстве, поэтому заканчивается почти мгновенно.
  4. Скачайте результат. По умолчанию он сохраняет исходное имя файла и длину в байтах.

Вопросы о 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.

Пользуйтесь ответственно. Files Corrupter создан для тестирования ПО, контроля качества, исследований, обучения и преподавания. Сдача намеренно испорченного файла, чтобы выдать работу за выполненную, может нарушать правила вашего учебного заведения или работодателя. Вы отвечаете за то, как используете результат. Смотрите наш отказ от ответственности.

Другие инструменты для code & data

Все инструменты порчи файлов