Tidy hyphens, dashes, and minus signs

Tidy hyphens, en dashes, em dashes, minus signs, and Japanese long vowel marks. Choose the right mark for what it does in the text.

The default settings keep URLs, dates, version numbers, command-line flags, and code as entered. All the work happens in your browser.

Your browser handles the text without sending or saving it.

Tidy marks while keeping URLs and code intact

Sort out similar Unicode characters by how they're used. Try it with technical writing, multilingual documents, and text that mixes Japanese with other languages.

How to use

  1. Paste the text you want to tidy.
  2. Choose a preset for your document and decide how readily to change uncertain marks.
  3. Check what changed, what stayed protected, and what still needs review.
  4. Copy the result or save the report. To make another pass, use the result as input.

Examples to try

Use different dashes for ranges and asides

Input
Chapters 10-12 - revised edition
Output
Chapters 10–12 — revised edition

Use a minus sign in math

Input
Temperature dropped to -5 and x-1 = 0.
Output
Temperature dropped to −5 and x−1 = 0.

Keep dates, URLs, and command-line flags intact

Input
Release 2026-03-12, URL https://example.com/my-tool, flag --dry-run
Output
The date, URL, and command-line flag stay as entered while the tool tidies the rest of the text.

Keep Japanese long vowel marks apart from dashes

Input
スーパー - A-B - 3-5kg
Output
スーパー ― A‐B ― 3–5kg

Terms used in this tool

Hyphen

A sign that joins words or parts of words. Unicode has a dedicated hyphen at U+2010.

En dash / Em dash

Dashes used for ranges and to set off phrases. A document's style rules determine which one to use.

Minus sign

The sign for negative numbers or subtraction. The dedicated Unicode minus sign is U+2212.

Long vowel mark

The kana mark that lengthens a vowel. The tool treats it separately from dashes.

How Unicode treats these marks

  • The ASCII - is easy to type and can do several jobs.
  • Japanese ー and the horizontal bar ― are different Unicode code points. Some fonts make them look alike.
  • Changing punctuation in technical text can break commands, version numbers, slugs, or URLs.

FAQ

Where does the tool check my text?

Your browser finds protected text and makes the changes without sending your text to a server.

What stays as entered by default?

The default settings keep URLs, email addresses, dates, times, version numbers, IDs, paths, command-line flags, code blocks, inline code, and basic markup as they are.

Why do hyphens sometimes need different replacements?

A single - can join words, mark a range, set off a phrase, or stand for a minus sign. Replacing every one the same way can change the meaning.

What happens to the Japanese long vowel mark ー?

The default settings keep Japanese long vowel marks as they are. You can choose to convert half-width ー to full-width ー.

Can I use the tool with right-to-left or mixed-language text?

Yes. The input and result detect text direction automatically, so you can use right-to-left text too.

What happens if the tool can't tell which mark to use?

By default, the tool leaves uncertain marks as they are and adds them to the review list. If you have a clear style guide, you can choose a setting that makes more changes.

Notes

  • The tool uses rules to recognize what to protect. Turn off a protection setting if you mean to change that part of the text.
  • A setting that makes more changes may not match your house style, a legal document's conventions, or the notation used in your work.
  • A share link contains your settings only.