PDF Mikata

Как удалить пустые строки

Опубликовано: 19 окт. 2026 | Обновлено: 19 окт. 2026 | О сайте (на японском)

Главное
  • Вставка
  • Удалить пустые строки
  • Копирование

Text copied from PDFs or emails, and Excel columns, can contain many empty lines. "Remove empty lines" in Remove Duplicate Lines and Sort a List takes them out all at once.

Шаги

  1. Paste the text into "Before tidying (one per line)".
  2. Tick "Remove empty lines".
  3. If needed, also choose "Remove spaces at the start and end of lines".
  4. Check "After tidying" and copy with "Copy result".
Lines containing only spaces may look empty yet not be treated as empty lines. Choosing "Remove spaces at the start and end of lines" together removes them.

Why empty lines increase

Combining with "Remove spaces at the start and end of lines"

To remove lines of only spaces, choose both "Remove spaces at the start and end of lines" and "Remove empty lines". The spaces go first, leaving empty lines, which are then deleted.

If you want to keep empty lines

If you want empty lines kept as paragraph breaks, do not choose this option. Paragraph breaks would disappear too.

Подходит для

Пример

Pasting one Excel column left many empty cells, with 18 of 50 lines empty. "Remove empty lines" tidied it to 32 lines.

Common stumbling blocks

Frequently asked questions

How do I remove the line breaks themselves?

There is a separate tool that removes line breaks in text.

Итог

Remove just the empty lines. For lines of only spaces, also choose the option that removes spaces.

Использовать «Удалить повторяющиеся строки и отсортировать список» (бесплатно)

Инструменты, которые хорошо сочетаются с этим

Если это руководство помогло, небольшие чаевые будут очень ценны.

Отправить чаевые (¥300)Отправить подарок (список желаний Amazon)

Другие руководства по этому инструменту

Все руководства