テキストをURLスラッグ化
任意のテキストをURL向けのクリーンなスラッグに変換します。
What is Text to URL Slug?
Text to URL Slug converts any text into a clean, URL-safe slug by lowercasing letters, replacing spaces with hyphens, and removing special characters. Slugs are used in blog post URLs, page routes, and database identifiers.
How to use
- Type or paste your text (e.g. a blog post title) into the input box.
- The slug updates in real time as you type.
- Click Copy to copy the slug to your clipboard.
Notes
- All letters are lowercased. Spaces and underscores become hyphens.
- Special characters, punctuation, and non-ASCII characters are removed.
- Multiple consecutive hyphens are collapsed into one.
FAQ
- What is a URL slug?
- A slug is the human-readable part of a URL that identifies a page, such as
/blog/how-to-use-json. Good slugs are lowercase, use hyphens as separators, and contain only letters, numbers, and hyphens. - Are accented characters removed?
- Yes. Accented characters like é, ñ, and ü are currently stripped. Consider manually replacing them with their ASCII equivalents before conversion for best SEO results.
- Why do search engines prefer lowercase slugs?
- Lowercase slugs avoid duplicate content issues caused by URL case sensitivity on some servers. They are also easier to type and share.
概要
記事タイトルなどからURL向けのslugを生成します。読みやすく一貫したURL設計に役立ちます。
使い方
- 元テキストを入力します。
- slugを生成します。
- URLパスとしてコピーして利用します。
使用例
-
記事タイトル
入力: How to Use JSON Safely
出力: how-to-use-json-safely
-
機能ページ
入力: RAID Level Comparison
出力: raid-level-comparison
補足
- CMS内でslug重複がないか確認してください。
- 短く意味が伝わるslugを推奨します。
- 公開後にslug変更する場合は必ずリダイレクトを設定してください。
よくある質問
- 日本語を自動ローマ字化できますか?
- 完全自動は保証できないため、最終確認は手動で行ってください。
- 日付を入れるべきですか?
- 運用方針次第です。不要なら入れない方がURLは短くなります。
- 区切り文字は何が良いですか?
- 一般的にはハイフンが推奨です。
Embed this tool
Paste this iframe into any HTML page to embed テキストをURLスラッグ化 on your site: