テキスト処理ツールボックス
行の並べ替え・重複削除・空白整理など10種の処理をワンクリックで。
テキスト処理ツールボックスとは
テキスト処理ツールボックスは、並べ替え・重複行の削除・空行の削除・空白の整形など、10種類の定番テキスト処理を1つにまとめたツールです。リストの整理、CSVの前処理、コピーしたテキストの掃除などに使えます。すべての処理はブラウザ内で完結します。
🔒 処理はすべてブラウザ内で完結し、データは送信されません。
このツールの前提
- 処理場所
- このページのブラウザ内(JavaScript / Canvas)
- アップロード
- なし — ファイルは端末の外に出ません
- オフライン
- ページを開いた後は通信不要
Several operations that are usually needed together
Sorting lines, removing duplicates, trimming each line, removing empty lines, changing line endings and reversing order. They compose in one pass, which is the point: cleaning a pasted list normally means doing four of these in sequence, and each trip through a separate tool introduces its own whitespace bug.
Every operation works on lines as split by CRLF, CR or LF, and the output uses the line ending you select rather than the one detected. That is deliberate — a list pasted out of Windows and sent to a Unix service needs LF regardless of what it arrived with.
Duplicates are not as simple as they look
Exact duplicates are easy. Case-insensitive duplicates need a normalisation step, and near-duplicates need a different tool entirely: a trailing space, a full-width character, or a different Unicode normalisation form makes two visually identical lines compare as different. If deduplication leaves what looks like a duplicate behind, that is what happened.
Sorting is by code unit by default, which puts all uppercase before all lowercase (Z before a) and all accented characters after plain ASCII. That is deterministic but rarely what a reader expects; if the order is going to be visible, sort case-insensitively and then break ties consistently.
The output is a new list, not an edit
Nothing here preserves surrounding formatting — indentation is stripped as part of trimming, and blank lines are either kept or removed wholesale. If the source is code or a structured document, use the specific tool for that format rather than a line-oriented cleaner.
For very long input the work happens in the page, which is fine into the low megabytes and unresponsive beyond. If a list is too large to paste, the operation belongs in a text editor or a shell pipeline, not a browser tab.
使い方
- 1.テキストを貼り付け
- 2.処理モードを選択
- 3.実行して結果をコピー
他の方法との比較
同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。
| 観点 | このツール | サーバー側の変換サービス | デスクトップアプリ |
|---|---|---|---|
| ファイルの処理場所 | このページのブラウザ内 | ベンダーのサーバー(アップロード後) | 自分の PC(アプリをインストール) |
| アカウント | 不要 | 多くの場合必要(無料枠の制限解除に登録を求める) | 不要(ライセンス認証は必要な場合あり) |
| 無料で扱えるサイズ | サイズ制限なし(回数制限もなし) | 数ファイル/時間、または 5〜10MB 程度で課金 wall | ディスクとメモリ次第 |
| 料金 | 無料。Pro は月 $9(大きいファイルと AI 機能のみ) | サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点) | 買い切り、またはサブスク |
| オフライン | 一度開けば通信不要 | 不可 | 可 |
| 20MB を処理し始めるまで | 待ち時間なし(アップロードが無い) | アップロードが支配的(10Mbps 上りで約 16 秒) | アプリの起動のみ |
| 保証できないこと | 何も保存されないため、閉じたタブの内容は復元できません | 同じ(変換の原理は変わらない) | 同じ。ただし書式の再現はより忠実な場合がある |
サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。
よくある質問
重複削除で順序は保たれる?
はい。重複行の削除は最初に現れた順序を保ったまま、2回目以降の重複だけを取り除きます。
ソートは大文字小文字を区別する?
localeCompareによる自然な辞書順でソートするため、大文字小文字の違いは柔軟に扱われます。
この変換で失われるもの
テキストツールはページ外に出ません。貼り付けた文字列はメモリ上で変換され、結果欄に書き戻されます。リクエストもログも保持もないため、タブを閉じた値を復元する方法もありません。