余分な空白もまとめて消す方法
- チェックを入れる
- 文章を貼り付け
- 結果をコピー
コピーした文章に、余分な空白(連続するスペース)が入っている。PDFや、メール、Webページからのコピーで、よく起こります。文章の改行を消す・整える の「余分な空白を消す」で、改行と一緒に、まとめて整えられます。
手順
- 「文章を貼り付け」の欄に、文章を貼り付けます。
- 「整え方」で、「余分な空白を消す」にチェックを入れます。
- 必要なら、「すべての改行を消す」や「段落(空行)は残す」も選びます。
- 「整えた後」を確認します。
- 「結果をコピー」で、コピーします。
空白が入る場面
- PDFから、行の幅をそろえるため、空白が入る
- メールの引用で、字下げの空白が入る
- Webページの整形用の空白が、コピーに含まれる
- 全角スペースと半角スペースが混ざる
整えられるもの
- 連続した空白(スペース)
- 行頭・行末の空白
手順の組み合わせ
- 「すべての改行を消す」または「段落(空行)は残す」
- 「余分な空白を消す」
この2つを選ぶと、改行も空白も整います。
日本語の文章
日本語では、単語の間にスペースが不要です。余分な空白は、基本的に削除してよいです。
英文の場合
英語は、単語の間に1つのスペースが必要です。「余分な空白を消す」で、連続したスペースが1つにまとまります。
全角スペースについて
全角スペース(字下げなどに使う)が混ざっている場合は、全角・半角を変換するツールで、先にそろえておくと整えやすくなります。
例
PDFからコピーした文章に、あちこち連続スペースがあった。「余分な空白を消す」で整えて、読みやすくなった。
つまずきやすい点
- 字下げの空白が残った:全角スペースは、別の文字として扱われる場合があります。先に変換する。
- 必要なスペースまで消えた:英文では、単語の間のスペースが残っているか確認する。
- 見た目が変わらない:もともと余分な空白が、なかった可能性。
よくある質問
タブ文字も消えますか?
空白として扱われる場合があります。結果で確認します。
まとめ
改行と空白を、一緒に整える。コピーした文章の仕上げに便利です。
文章の改行を消す・整えるを使う(無料)あわせて使えるツール
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- PDFから文字を抜き出す:PDFの文字を取り出して、コピーまたは保存できます。
- 全角・半角、ひらがな・カタカナを変換する:全角・半角、ひらがな・カタカナを変換します。
同じツールの、ほかの解説
How to Remove Extra Spaces Too
- Turn on the option
- Paste the text
- Copy the result
Copied text contains extra spaces (consecutive spaces). This often happens when copying from PDFs, emails and web pages. "Remove extra spaces" in Remove and Tidy Line Breaks in Text tidies them together with line breaks.
Steps
- Paste text in the "Paste text" field.
- Under "Tidying method", tick "Remove extra spaces".
- If needed, also choose "Remove all line breaks" or "Keep paragraphs (blank lines)".
- Check "After tidying".
- Copy with "Copy result".
When spaces creep in
- PDFs insert spaces to even out line widths
- Email quotations add indentation spaces
- Spaces used for formatting on web pages are included in the copy
- Full-width and half-width spaces are mixed
What gets tidied
- Consecutive blanks (spaces)
- Blanks at the start and end of lines
Combining the steps
- "Remove all line breaks" or "Keep paragraphs (blank lines)"
- "Remove extra spaces"
Choose both and line breaks and spaces are tidied.
Japanese text
Japanese needs no spaces between words. Extra blanks can generally be deleted.
English text
English needs one space between words. "Remove extra spaces" merges consecutive spaces into one.
About full-width spaces
If full-width spaces (used for indentation and so on) are mixed in, aligning them first with the full-width/half-width conversion tool makes tidying easier.
Example
Text copied from a PDF had consecutive spaces here and there. Tidied with "Remove extra spaces" and it became easier to read.
Common stumbling blocks
- Indentation blanks remain: full-width spaces may be treated as a different character. Convert first.
- Needed spaces vanished too: in English, check that spaces between words remain.
- The look did not change: there may have been no extra blanks to begin with.
Frequently asked questions
Are tab characters removed too?
They may be treated as blanks. Check in the result.
Summary
Tidy line breaks and blanks together. Handy as the finishing touch on copied text.
Use "Remove and Tidy Line Breaks in Text" (free)Tools that go well with this
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Extract Text from PDF: Pull the text out of a PDF to copy or save.
- Convert Full-Width, Half-Width, Hiragana and Katakana: Convert full-width/half-width and hiragana/katakana.