本文へ
WriteWithin

空白クリーナースイート

余分なスペース、Tab、隠れたUnicode文字を整理 — 他ツールが省略する多言語安全モード付き。

プリセット

スペース整理

不可視とUnicode

行とインデント

処理順序は固定:BOM/ゼロ幅 → Unicode/NBSP → 改行 → PDF結合 → トリム → 圧縮 → 空行 → Tab変換。

このクリーナーの特徴

  • 削除前に不可視文字を確認
  • アラビア語/Indic向け安全なゼロ幅整理
  • Unicode + NBSP正規化 — ダブルスペースだけでない
  • PDF改行修正 + 空行コントロール
  • 16言語対応のブラウザ内プライベート処理

余分なスペースの除去方法

「余分なスペースを除去」をオンにすると、連続スペースやTabを1つに圧縮。「空行を除去」を選ばない限り改行は保持。メール下書きやスクレイプ段落に便利。

先頭と末尾スペースを削除

末尾スペース削除はコードやCMSエクスポートの行末ゴミを除去。先頭スペース削除はインデントを除去 — コードインデントが必要ならオフのまま。

スペースと改行不可スペースを正規化

WordやGoogle Docsは改行不可スペース(U+00A0)やUnicodeの隙間を挿入。正規化と置換で通常スペースに変換し、検索・diff・CMSフィールドが正常動作。

Tabをスペースに変換

Tab→スペースはTab幅(2,4,8)で展開。スペース→Tabは先頭インデントのみ — 文中のスペースは変換しない — 本文の可読性を保持。

ゼロ幅スペースを安全に除去

安全モードはゼロ幅スペース(U+200B)とBOMを除去。積極モードはアラビア語、ペルシア語、ウルドゥー語、Indicが必要とするjoinerも除去。既知のゴミ整理時以外は安全モード推奨。

不可視文字の表示方法

「不可視文字を表示」でスペース(·)、Tab(→)、NBSP(⍽)、ゼロ幅マークをプレビュー。コピーは常にマーカーなしの整理テキスト。

PDF改行を修正

コピーしたPDFテキストは文の途中で改行されることが多い。PDF改行修正でハードラップを結合し、スペースオプションで仕上げ。

関連ツール

テキスト文字クリーナー · 行ツール · 行数カウント · 大文字小文字変換 · URLクリーナー

whitespace cleanup が重要な理由

画面では fine な text が paste 先で fail。email double space after period;Word/Docs non-breaking space search 不可;PDF copy で文ごと行;code trailing tab choke;CMS invisible zero-width reject。

WriteWithin Whitespace Cleaner spacing/invisible Unicode junk browser fix — upload なし。client email/internal ticket/bilingual family message shared laptop で privacy-first 重要。option 把握後 seconds job。

この tool が clean するもの

余分 space/tab

Remove extra spaces ordinary space/tab run を line 内 single space collapse。line break は blank-line option 除非。Trim trailing end-of-line junk code diff/scraped HTML。Trim leading indentation remove — source code compile 必要なら off。

Convert tabs spaces width 2/4/8 expand。Convert spaces tabs leading indent only sentence space 不変 prose readable code indent marker consistent。

NBSP と Unicode gap

Replace NBSP U+00A0 Word same-line two words → ordinary space。Normalize thin/figure/ideographic Unicode whitespace variant identical eye find-replace CSV strict validator break。

normalize 後 still misbehave — Text Character Cleaner punctuation/emoji/control whitespace intentionally leave。

Zero-width:safe vs aggressive

Safe zero-width space U+200B BOM remove most paste disaster common invisible junk。Aggressive also zero-width joiner/non-joiner Arabic/Persian/Urdu/Indic script letter shape — Latin-only known spam marker certain only aggressive。

multilingual writer WriteWithin safe default。URL/DB field break catch reader depend script joiner touch しない。

PDF line break と blank line

Fix PDF line breaks hard-wrapped mid-sentence academic/legal PDF classic。lowercase next line start merge space collapse trim tidy。

Collapse blank lines empty row single gap email forward ideal。Remove blank lines entirely。list dedupe/sort Line Tools whitespace-only row blank stricter list hygiene。

不可視文字を表示

Show invisible preview space(·) tab(→) NBSP(⍽) zero-width output pane。Copy cleaned without marker — diagnosis not export。colleague「paragraph OK」preview on hidden obvious。

処理順(固定 pipeline)

  1. Strip BOM file start
  2. Remove zero-width safe/aggressive
  3. Replace NBSP normalize Unicode space ordinary
  4. Normalize line endings internal
  5. Optionally join PDF hard line break
  6. Trim leading/trailing space per line
  7. Collapse repeated space/tab or remove all space
  8. Blank-line collapse/removal
  9. Convert tabs↔spaces restore chosen line-ending

order fixed reason:PDF join before space collapse merged sentence single space not double gap。

common paste source Preset

  • Email paste — collapse space replace NBSP collapse blank line
  • Word / Docs — email same office-document spacing tuned
  • PDF text — hard line-break repair on space normalization
  • Code indent — tabs spaces trailing trim LF no space collapse inside line
  • CMS / scraper — trim both ends every line collapse space LF

Whitespace vs related tool

Character Cleaner letter/number/emoji/punctuation/symbol remove or keep class specify。Unicode NFC/NFKD script-aware accent strip。problem which character exist not space count between word。

Line Tools whole line dedupe/sort/filter keyword join paragraph split width。structure not intra-line spacing。chain Whitespace first Line Tools dedupe contact list common。

Line Counter measure no change。Case Converter URL Cleaner casing/link hygiene orthogonal spacing。

step-by-step messy paste clean

  1. Whitespace Cleaner open input paste
  2. preset source Email Word PDF Code CMS
  3. Show invisible suspicious
  4. output stats characters removed line count preview scan
  5. cleaned output copy destination

common mistake

  • Arabic/Hindi aggressive zero-width — safe unless joiner unnecessary know
  • Indented code trim leading — Code preset or leading trim off
  • Deduplication expect here — duplicate line Line Tools
  • Smart quote remove here — character-level Character Cleaner
  • Collapse twice tools — one pipeline pass enough

in-browser whitespace benefit

  • No account upload text device
  • Deterministic pipeline same input option same output
  • Multilingual-safe zero-width other remover skip
  • Live stats characters/lines changed
  • Chromebook borrowed laptop locked corporate browser

common question

Arabic/Hindi break? Safe zero-width only zero-width space BOM。Aggressive joiner some script need — sure only。

See invisible before delete? Show invisible marker output copy clean without marker。

Text uploaded? No browser entirely。

Count line after? Line Counter cleaned text submission limit verify。

Normalize before/after case? Whitespace first Case Converter hidden space casing uneven。

よくある質問

アラビア語やヒンディー語のテキストを壊しますか?

安全ゼロ幅モードはゼロ幅スペースとBOMのみ除去。積極モードはjoinerも除去 — 必要な場合のみ。

不可視文字を見られますか?

はい。「不可視文字を表示」をオン。コピーはマーカーなしの整理テキスト。

テキストはアップロードされますか?

いいえ。整理はブラウザ内。テキストは端末から出ません。

オプションの実行順序は?

固定パイプライン:BOM/ゼロ幅、Unicode/NBSP正規化、改行正規化、PDF結合、トリム、スペース圧縮、空行、Tab変換。