Back to all topics

Formats, numbers and unit conversion

Conversion is reliable only when the source and destination mean the same thing. A number without units can be ambiguous, and CSV cannot represent every nested JSON structure directly. Use explicit units and small reference examples to verify the direction and precision of a conversion.

Suggested workflow

  1. Choose the source format or unit and the intended destination explicitly.
  2. Test a familiar reference value, then convert your real input. Check nested data and separators where relevant.
  3. Convert back when possible and compare with the original, allowing for stated rounding.

What to check

Temperature conversions include offsets; they are not simple scale factors. Watch decimal separators, quoted CSV fields, missing values and the difference between numeric values and text.

CSV ⇄ JSON

Convert header-based CSV and JSON object arrays with comma, semicolon or tab delimiters. Original JSON number text, including large integers, is preserved; nested arrays and objects become JSON text inside cells.

Suggested workflow

Choose the direction and delimiter, enter data or load an example, then inspect and copy or download. Formula-like text is rejected by default; raw mode requires turning that option off. The example keeps 9007199254740993 exact.

What to check

Limits are 1 million input and 2 million output UTF-16 units, 10,000 rows, 1,000 columns, 200,000 cells and JSON depth 64. Exact number text requires a modern browser. Trimmed headers must be unique; duplicate JSON keys fail. CSV values are strings; null and missing cells become empty. Import identifiers as text because spreadsheets may infer types or round them.

Example · CSV ⇄ JSON

Input

name,note
Ada,"a,b"

Output

[
  {
    "name": "Ada",
    "note": "a,b"
  }
]
Open tool · CSV ⇄ JSON

Number to Chinese

Convert decimal text into Chinese readings and RMB financial numerals. The output remains Chinese in every interface language. Decimal-digit processing preserves large sixteen-digit integers and cents without floating-point multiplication.

Suggested workflow

Enter a number or choose a sample, select Simplified or Traditional Chinese and copy either result. For example, 10010 becomes 一万零一十 and 1234.56 becomes 壹仟贰佰叁拾肆元伍角陆分; negative zero loses its minus sign.

What to check

Total input length is 128; after leading zeros, the integer has at most 16 digits. Readings allow 20 decimal digits, RMB only two without rounding. Commas require three-digit groups; exponent notation is unsupported. This converts number text and does not validate document-specific acceptance rules.

Example · Simplified Chinese

Input

10010

Output

一万零一十
Open tool · Number to Chinese

Roman Numerals

Convert positive integers 1–3999 to canonical Roman notation and back. It uses I, V, X, L, C, D, M and subtractive pairs such as IV and IX; noncanonical IIII or VX are rejected.

Suggested workflow

The two editors work independently: enter a decimal integer for Roman output, or letters for the integer. Samples load both sides for copying. The example 1994 is MCMXCIV; lowercase Roman input is accepted.

What to check

Only modern canonical notation without overbars is supported, not zero, negatives, fractions or values above 3999. Input is capped at 64 characters. Invalid values produce explicit errors; empty fields clear results instead of leaving stale output.

Example · Decimal integer (1–3999)

Input

1994

Output

MCMXCIV
Open tool · Roman Numerals

Unicode Converter

Convert text to UTF-16 Unicode escapes and decode four-digit escapes, braced code points and surrogate pairs. Encoding normally escapes non-ASCII and backslashes; an option escapes every UTF-16 unit.

Suggested workflow

Enter text and select Encode or Decode. Editing clears stale output; copy or download the result. Literal backslashes become U+005C escapes. Decoding is a single pass, so newly produced escapes are never interpreted again.

What to check

Encoding accepts 100,000 UTF-16 units; decoding accepts 600,000, with output at most 600,000. Points above U+10FFFF fail. Doubled backslashes are supported; other ordinary escapes are unchanged. This does not execute code or parse complete JSON strings. ASCII quotes and newlines remain unchanged unless all-unit encoding is selected.

Example · Encode

Input

中文🙂

Output

\u4e2d\u6587\ud83d\ude42
Open tool · Unicode Converter

Morse Code

Convert Latin A–Z, é, digits and the punctuation in the displayed table, including existing common extensions. Unsupported text and codes cause errors instead of disappearing. This produces written Morse, not audio.

Suggested workflow

Encode SOS as ... --- ... with one space between letters and slashes between words. Decoding also accepts two or more whitespace characters as word gaps and normalizes middle dots and long dashes. Decoded letters are lowercase.

What to check

Input is limited to 10,000 UTF-16 units. Encoding merges whitespace and letter case, so original layout cannot round-trip. Unlisted scripts need an appropriate character representation first. Some punctuation is a common extension; the table is not a complete set of international procedural signals.

Example · Encode

Input

SOS 2026

Output

... --- ... / ..--- ----- ..--- -....
Open tool · Morse Code

Unit Conversions

Browse twelve categories of units and ordered conversion pairs while retaining every existing category and pair URL. The added stone is defined as 14 pounds; the legacy converter and matrix use the same engine with names, symbols, formulas and scope notes.

Suggested workflow

Select a category, open a specific pair and edit either value to update the other; a reverse link opens the opposite direction. For example, 1 in = 2.54 cm. Temperature scales have zero-point offsets, so use their displayed formula instead of multiplying by the converted value of one unit.

What to check

Liquid measures use US definitions; chi, li, jin, liang and mu follow mainland Chinese market units, not similarly named regional units. KB is 1000 B and KiB 1024 B. Months use 30.4375 days and years 365.25, not calendar arithmetic. Mach is fixed at 340.29 m/s, calories are thermochemical and BTU uses IT. At most 12 significant digits are displayed; measurement and environmental uncertainty are separate. Feet are international feet; pounds and ounces use avoirdupois definitions.

Example · centimeter

Input

1

Output

2.54
Open tool · Unit Conversions