Home Tools Blog About

Create Unicode Fractions

In short

Convert fractions to Unicode (½ ⅔ ⅛) or constructed superscript/subscript form. Decimal-to-fraction, simplify, batch mode. Free, client-side.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Convert fractions to Unicode characters: vulgar form (½ ⅔ ⅛) when available, or constructed superscript/subscript (⁵⁄₉) otherwise. Single, decimal-to-fraction (continued-fraction algorithm), or batch mode.

½
✓ Vulgar Unicode character (single codepoint)
🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Create Unicode Fractions

  1. Pick mode. Single takes an a/b string. Decimal converts a decimal number to its nearest fraction using the continued-fraction algorithm bounded by max-denominator. Batch processes one fraction/decimal per line.
  2. Pick output style. Auto uses vulgar Unicode (single codepoint like ½, ⅔) when one exists; otherwise constructs ⁵⁄₉ via superscript numerator + fraction slash + subscript denominator. Vulgar only emits ASCII 5/9 if no vulgar character is available. Constructed only always uses superscript/subscript even when vulgar exists.
  3. (Optional) toggle Simplify (GCD-reduce 4/8 → ½) and Mixed number (5/3 → 1 ⅔).
  4. For decimal mode: slide max-denominator (10-10000). 1000 catches most "nice" fractions; 10 forces very crude approximations.
  5. Convert (or Ctrl+Enter). Method indicator shows which technique was used (vulgar / constructed / ASCII fallback). Copy or download (batch mode saves a .txt).

Frequently Asked Questions

Are Unicode fractions readable by screen readers?

The dedicated characters, yes: a screen reader announces ¼ as “one quarter” because the character carries its own meaning. Constructed fractions built from superscript and subscript digits plus the fraction slash are less reliable, some readers announce them digit by digit. For body text where accessibility matters, dedicated vulgar fractions are the safer choice, with plain text like “3/16” as the fallback when no dedicated character exists.

Which fractions have dedicated Unicode characters?

19 vulgar fractions in standard Unicode (1.1+): ½, ⅓, ⅔, ¼, ¾, ⅕, ⅖, ⅗, ⅘, ⅙, ⅚, ⅐, ⅛, ⅜, ⅝, ⅞, ⅑, ⅒, plus 0⁄3 (↉). For other fractions, the constructed form uses superscript digits (U+2070-2079), fraction slash (U+2044), and subscript digits (U+2080-2089).

How does decimal-to-fraction work?

Continued-fraction algorithm: compute floor and remainder iteratively, building successive rational approximations. Converges to the best rational within the denominator limit. Example: 0.333 with max-denominator 1000 → 1/3. 3.14159 with max-denominator 10 → 22/7 (the classical π approximation). 3.14159 with max-denominator 1000 → 355/113 (Milü).

What’s the difference between vulgar and constructed?

Vulgar = single Unicode codepoint designed as a fraction. Renders as a properly-typeset typographic fraction in any font. Constructed = three characters (superscript numerator + fraction-slash + subscript denominator). Renders with whatever superscript/subscript styling the font has. Looks similar but is technically three characters – affects search, line-break behavior, and screen-reader pronunciation.

Why might Vulgar-only mode return ASCII?

Because there is no vulgar Unicode character for that fraction. Out of “Vulgar only” mode comes 5/9 as plain ASCII because U+2155 (⅕) and similar only cover the 19 fractions listed above. Picking “Auto” instead lets the tool fall back to the constructed form ⁵⁄₉.

Can I convert negative or improper fractions?

Yes. Negative: -3/4 becomes (the sign is preserved; the vulgar character represents only the magnitude). Improper: 5/3 by default becomes ⁵⁄₃. With the Mixed-number checkbox, it becomes 1 ⅔.

Do these render correctly everywhere?

Mostly yes. Vulgar fractions render correctly in any modern font (Arial, Times, system fonts). Constructed fractions need fonts with superscript/subscript glyphs – some fonts substitute by scaling regular digits, which can look uneven. PDF rendering is reliable; some old email clients strip superscripts/subscripts back to normal digits.

What’s in the batch output?

One line per input. Each line is the converted form. Errors are bracketed [error: ...] so you can grep/filter them out. The stats line shows counts per method (e.g., “12 vulgar · 3 constructed · 1 error”).

What does the max-denominator slider control?

Bounds the continued-fraction search. Setting it too low (e.g., 10) forces crude approximations – 0.5 still becomes 1/2, but 0.333 becomes 1/3 only if the search has time; 0.314159 might become 22/7 instead of better. Setting it too high (10000) is slower and might find approximations that humans wouldn’t recognize as “the obvious” fraction. 1000 is a good default.

Is anything uploaded?

No. Pure browser-side processing. Your fractions don’t leave your device.

Keep going

Related Tools

All Number tools →

Fraction Addition Calculator

Add two or more fractions with automatic simplification. See exact results and decimal values.…

Center Unicode Text

Center Unicode text within a fixed width, with real grapheme counting for emoji and…

Check Spoofed Unicode Text

Detect Unicode confusables and homoglyphs from Cyrillic, Greek, Armenian, and Hebrew that imitate Latin…

Chunkify Unicode Text

Split Unicode text into equal chunks with grapheme, code-point, or UTF-16 modes. Keeps emoji…

ASCII to Unicode Converter

ASCII to Unicode & Decode decimal, hex, octal, or U+XXXX values to Unicode characters…

Convert Code Points to Unicode

Convert Code Points to Unicode (U+XXXX, hex, decimal) to characters - handles emoji, CJK,…

Convert Unicode to ASCII

Convert Unicode to ASCII with transliteration (é → e, ñ → n), replace, or…

Convert Unicode to Base64

Encode Unicode text to Base64 (and decode) with standard, URL-safe, MIME variants. UTF-8 proper.…

Convert Unicode to Binary

Convert Unicode to binary in 3 modes (UTF-8, codepoint, UTF-16). Per-character breakdown. Free, offline,…

Convert Unicode to Bytes

Convert Unicode to UTF-8 bytes in hex, decimal, or binary. Per-byte grid, reverse direction.…

Convert Unicode to Code Points

Convert Unicode to code points (U+XXXX, HTML/CSS/JS escapes) and back. Per-character breakdown. Free, offline,…

Convert Unicode to Data URL

Convert Unicode to data URLs with base64 or URL-encoding, 12 MIME types, charset toggle.…

Share

Embed this tool

Add this free tool to your website. Copy and paste the code: