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

Corrupt an SQL File Online

Corrupt a .sql dump online for free. Breaks statement structure and encoding so imports fail instead of loading partial data.

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

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

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

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

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

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

An SQL dump is a text file of statements executed in order. That makes partial corruption genuinely dangerous in the real world, an import can succeed for thousands of rows and then fail halfway, leaving a database in an inconsistent state. Reproducing that on demand is exactly what this is for.

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

  • Statement terminators. Semicolons and line breaks are overwritten, so statements run together into unparseable input.
  • String literal quoting. Quotes are broken up, leaving literals unterminated and swallowing subsequent statements.
  • The dump header. The opening bytes containing the client and server version comments are destroyed.
  • Encoding validity. Invalid UTF-8 sequences make the file fail on import before any statement executes.

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

ПриложениеПоведение
mysql < dump.sql"ERROR 1064 (42000): You have an error in your SQL syntax" and the import aborts.
psql -fReports invalid byte sequence for the encoding and stops.
phpMyAdmin / AdminerImport fails with a syntax error and a line number.
Light levelImport may run partway before failing, the realistic partial-restore scenario.

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

  • Rehearsing a restore from a damaged backup before it happens for real.
  • Verifying an import runs inside a transaction and rolls back cleanly on failure.
  • Testing that a migration tool reports the failing statement rather than continuing.
  • Demonstrating why backups must be verified, not just taken.

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

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

Вопросы о SQL

Can I simulate a partial restore?

Yes, and this is the most useful case. Light level leaves most statements intact, so an import typically runs for a while before failing, which is precisely the scenario that catches missing transaction handling.

Does it work on compressed dumps?

A .sql.gz file is handled as a gzip archive instead, which breaks the whole thing at once. Decompress first if you want statement-level damage.

Will it break a specific table?

Not deterministically, damage is scattered, not targeted at named objects.

Is the original dump modified?

No. The corruption is applied to a copy in memory and downloaded separately.

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

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

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