YAML · Grátis · No dispositivo

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.

  • Sem envio
  • Sem limite de tamanho
  • Sem registo

Corrompa o seu ficheiro YAML

Afinado para .yaml, .yml, e funciona igualmente bem com qualquer outro formato.

100% no dispositivo
Largue ficheiros aqui ou procure Qualquer formato, qualquer tamanho, vários ficheiros de uma vez
Nível de corrupção

A processar…0%
Pronto a transferir

Porque os ficheiros YAML são difíceis de corromper como deve ser

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.

O que esta ferramenta destrói

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

O que vai ver a seguir

AplicaçãoComportamento
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.

Motivos comuns para fazer isto

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

Como corromper um ficheiro YAML

  1. Largue o seu ficheiro .yaml na caixa acima, ou clique para procurar.
  2. Deixe o nível em Standard, a menos que queira dano parcial (Light) ou precise de derrotar software de recuperação (Heavy).
  3. Prima Corromper ficheiro. O processamento decorre no seu dispositivo, por isso termina quase de imediato.
  4. Transfira o resultado. Por predefinição mantém o nome de ficheiro e o comprimento em bytes originais.

Perguntas frequentes sobre 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.

Use isto de forma responsável. O Files Corrupter foi criado para testes de software, QA, investigação, formação e ensino. Entregar um ficheiro corrompido de propósito para fazer passar trabalho por concluído pode violar as regras da sua escola ou entidade empregadora. É responsável pelo uso que faz do resultado. Consulte a nossa declaração de exoneração.

Mais ferramentas code & data

Todas as ferramentas de corrupção