本文へ
WriteWithin

URLクリーナー

Paste links on the left. Toggle on to remove, off to add. Watch the short confirmation message.

URL Cleaner の機能

WriteWithin URL Cleaner は、email、chat、spreadsheet、social post から paste した link を normalize する private な browser-based tool です。https:// を手削除したり、broken line wrap を直したり、長い list の duplicate を探す代わりに、URL を一度 paste すれば cleaned output が live update されます。各 toggle が一種類の変更:protocol の remove/restore、www. の strip/add、trailing slash 削除、string 内 space collapse、各 link を root domain のみ trim。

server-side shortener と違い paste は upload されません。cleaning は browser 内完結 — internal project link、client dashboard、third-party API に送りたくない bookmark に適します。single URL も newline・comma・tab 区切り batch も — 同じ option が list 全体に適用。

WriteWithin から quick fix で来たなら、核心は簡単:左に paste、toggles で house style に合わせ、copy。以下は why matter、各 option の挙動、common mistake。

なぜ URL を clean する?

link は無害に見えても、document、CMS field、group chat に paste すると問題化。campaign tag だらけの long query string で marketing email や social が destination を wrap。PDF/Word は URL を行で割り space を挿入して click fail。spreadsheet export は同一 domain を微妙に違う format で duplicate。normalized list は read・compare・reuse が容易。

root domain trim は magic privacy shield ではないが、path segment と query parameter(tracking/session データを含みがち)を drop する practical な方法。competitor homepage、approved vendor domain、publisher bibliography など「どの site か」だけ分かればよい list では root trim で example.com 形に統一、各行 hand-edit 不要。

URL Cleaner の step-by-step

tool を開き left textarea に paste。1つまたは多数;cleaner は newline、comma、tab で split、各 entry の whitespace trim、blank row ignore。right pane に cleaned list が即表示 — 忘れがちな separate「run」button なし。

pane 上の toggle row を確認。各 button は on/off switch、one-way ではない。on なら output からその部分 remove。off なら missing なら add back。flip 時に short confirmation で character 比較なしに change 確認。

bare domain なら default から:protocol removed、www. removed、trailing slash removed、interior space stripped。example.com/pagehttps://www.example.com/page/ より prose で common。style guide が HTTPS 付き full URL なら protocol toggle off で https:// prepend。

Trim to root は hostname のみ欲しいとき。path、query、fragment、典型 tracking parameter は domain 以降残さないため消える。path が重要 — article slug、product ID、long page anchor — のときは root trim off。

output OK なら Copy output で destination へ paste。action 下 stats に cleaned count、removed duplicate、invalid line 数。Undo で aggressive toggle 修正;Clear は text area 空;Clear all は toggle も default。

各 toggle の理解

Protocol. on で http:// https:// drop。HTML、JSON、API で full URL 必要なら off。add back 時は original が HTTP/HTTPS か remember。

www. strip で domain list sort 容易。組織が www 標準で missing 時 add なら off。

Trailing slash. document で one convention — CMS は canonical slash で不一致 — toggle を match。path 内 duplicate slash は先に normalize。

Spaces. PDF/email wrap が mid-URL space — collapse。周囲 paragraph の odd spacing は Whitespace Cleaner と pair。

Trim to root. hostname のみ — path なし、?utm_source= なし、#section なし。domain allowlist、query removal による tracking 的 cleanup。specific article/product/anchor を path で識別するときは使わない。

Batch list、dedupe、invalid line

analytics export、bookmark HTML、同じ referral link の chat log を paste。non-empty entry ごとに clean、hostname lowercase compare、clean 後 exact duplicate remove。manual Line Tools pass 省略 — URL+non-URL 混在 list は there で dedupe も。

URL に似ない line は stats で flag するが best-effort clean。half が prose なら URL だけ cleaner、note は separate;mixed symbol は Character Cleaner で URL paste 前に。

Privacy と data の行方

WriteWithin は URL list を upload して処理しません。local tab cleaning — site 上の他 private writing tool と同 model。unreleased product、signed document URL、internal staging host を指す link で重要。必要分 copy 後、shared PC では field clear。

日常 work での benefit

  • Readable shared link — chat で shorter line、broken wrap なし
  • Consistent spreadsheet — sort/VLOOKUP 前 one hostname format
  • Batch bibliography cleanup — browser tab 数十 citation を一度に
  • Reversible toggle と undo — re-paste なし style compare

避ける common mistake

path が要点なのに root trim。support article、GitHub file、Google Doc は path 必須。root trim は distinct destination を one domain に。

target が protocol 必須なのに strip。validator、markdown renderer は https:// expect — final pass で protocol toggle off。

tracking が全部消えると assume。root trim は same-host query drop;redirect と third-party pixel は別問題。

non-URL paste。prose/link を先 split;URL 前に Character Cleaner で symbol clean。

protocol(と www)を残すとき

href、JSON-LD schema、RSS item、API body で full URI validate する consumer 向けに https:// keep/restore。CDN/cookie scope が www host に紐づき marketing asset がその形を assume なら www. keep。specific page/download/anchor section への link では path/query keep — そのとき full URL が brand domain 以上の意味を持つ。

email/slide の human-readable prose では bare domain が clean なことが多い。machine-readable config では full URL が win。toggle model で audience 切替、two list を hand maintain 不要。

関連 WriteWithin tool

URL cleaning は longer paste-fix pipeline の一部。messy paragraph は Whitespace Cleaner、mixed list dedupe は Line Tools、surrounding copy count は Line Counter、ALL CAPS title は Case Converter、typing benchmark は Typing TestWriteWithin で full local-first toolkit。

よくある質問

How do the toggles work?

On removes that part. Off adds it back. A short message confirms each action.

複数のURLを一度に整理できますか?

Yes. Paste one URL per line, or separate with commas or tabs.

URLリストはプライベートですか?

はい。整理はブラウザ内で実行。貼り付けた内容はアップロードしません。