154 practical tools · 15 categories

A better way to convert anything.

Convert units, text and code in one place: length, pressure, energy, Base64, JSON, YAML and more. Get a clear result with a practical explanation.

Browse tools

Quick start

Start with a popular tool

Explore

Explore every category

01 / 15

Length

Convert everyday distances and dimensions between metric and imperial units.

View category
LengthKilometers to milesConvert kilometers (km) to miles (mi) with an instant calculator. See the exact formula (mi = km × 0.62137119223733) and copy the result.LengthMiles to kilometersConvert miles (mi) to kilometers (km) with an instant calculator. See the exact formula (km = mi × 1.609344) and copy the result.LengthMeters to feetConvert meters (m) to feet (ft) with an instant calculator. See the exact formula (ft = m × 3.28083989501312) and copy the result.LengthFeet to metersConvert feet (ft) to meters (m) with an instant calculator. See the exact formula (m = ft × 0.3048) and copy the result.LengthCentimeters to inchesConvert centimeters (cm) to inches (in) with an instant calculator. See the exact formula (in = cm ÷ 2.54) and copy the result.LengthInches to centimetersConvert inches (in) to centimeters (cm) with an instant calculator. See the exact formula (cm = in × 2.54) and copy the result.LengthMillimeters to inchesConvert millimeters (mm) to inches (in) with an instant calculator. See the exact formula (in = mm ÷ 25.4) and copy the result.LengthInches to millimetersConvert inches (in) to millimeters (mm) with an instant calculator. See the exact formula (mm = in × 25.4) and copy the result.LengthYards to metersConvert yards (yd) to meters (m) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.LengthMeters to yardsConvert meters (m) to yards (yd) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.LengthNautical miles to kilometersConvert nautical miles (nmi) to kilometers (km) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.LengthKilometers to nautical milesConvert kilometers (km) to nautical miles (nmi) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.

02 / 15

Mass

Move between kilograms, pounds, grams, ounces and tonnes with precise factors.

View category
MassKilograms to poundsConvert kilograms (kg) to pounds (lb) with an instant calculator. See the exact formula (lb = kg × 2.20462262184878) and copy the result.MassPounds to kilogramsConvert pounds (lb) to kilograms (kg) with an instant calculator. See the exact formula (kg = lb × 0.45359237) and copy the result.MassGrams to ouncesConvert grams (g) to ounces (oz) with an instant calculator. See the exact formula (oz = g ÷ 28.349523125) and copy the result.MassOunces to gramsConvert ounces (oz) to grams (g) with an instant calculator. See the exact formula (g = oz × 28.349523125) and copy the result.MassMetric tonnes to US tonsConvert metric tonnes (t) to US short tons with an instant calculator. See the exact formula (US ton = t × 1.10231131092439) and copy the result.MassUS tons to metric tonnesConvert US short tons to metric tonnes (t) with an instant calculator. See the exact formula (t = US ton × 0.90718474) and copy the result.MassStones to kilogramsConvert stones (st) to kilograms (kg) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.MassKilograms to stonesConvert kilograms (kg) to stones (st) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.MassMetric carats to gramsConvert metric carats (ct) to grams (g) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.MassGrams to metric caratsConvert grams (g) to metric carats (ct) in your browser. Follow the formula, worked example, and notes on precision and unit conventions.

03 / 15

Temperature

Convert Celsius, Fahrenheit and Kelvin with the right offset as well as scale.

View category

04 / 15

Area

Compare floor space and land area in square feet, square metres, acres and hectares.

View category

05 / 15

Volume

Convert liquid volume between litres, US gallons and US fluid ounces.

View category

06 / 15

Speed

Translate road speeds and motion between kilometres, miles and metres per second.

View category

07 / 15

Time

Convert hours, minutes and days for schedules and calculations.

View category

08 / 15

Pressure

Kilopascals, bar and pounds per square inch.

View category

09 / 15

Energy

Kilojoules, kilocalories, kilowatt-hours and megajoules.

View category

10 / 15

Power

Watts, kilowatts and mechanical horsepower.

View category

11 / 15

Digital storage

Decimal megabytes and gigabytes versus binary mebibytes and gibibytes.

View category

12 / 15

Angle

Degrees, radians and complete turns.

View category

13 / 15

Fuel economy

Liters per 100 kilometers and US or Imperial miles per gallon.

View category

14 / 15

Text & code

Encode, decode, format and hash text or data directly in your browser.

View category
Text & codeHTML entity encoderEscape text for HTML by turning &, <, > and quotes into entities. Useful when showing code as text.Text & codeHTML entity decoderDecode HTML entities such as &amp;, &lt; and numeric character references back to readable text.Text & codeURL component encoderPercent-encode a query value, path segment or other URL component using UTF-8.Text & codeURL component decoderTurn percent-encoded URL components back into Unicode text. Invalid escape sequences are reported.Text & codeText to Base64Encode text as Base64 or Base64URL with selectable character set and padding.Text & codeBase64 to textDecode Base64 or Base64URL into text using the selected character set; invalid data is reported.Text & codeText to hexadecimalRepresent each UTF-8 byte of your text as two hexadecimal digits.Text & codeHexadecimal to textDecode hexadecimal byte pairs into UTF-8 text. Invalid characters and byte sequences are reported.Text & codeFormat JSONIndent valid JSON for easier reading and debugging. Invalid JSON is reported without changing your input.Text & codeMinify JSONRemove formatting whitespace from valid JSON while preserving the data structure.Text & codeSHA-256 hash generatorCalculate the SHA-256 digest of UTF-8 text in your browser. A hash is one-way and cannot be decoded.Text & codeSHA-512 hash generatorCalculate the SHA-512 digest of UTF-8 text in your browser, displayed as hexadecimal.Text & codeText to binary bytesConvert UTF-8 text into space-separated eight-bit binary bytes.Text & codeBinary bytes to textDecode eight-bit binary byte groups into UTF-8 text. Invalid bytes are reported.Text & codeHEX to RGB colorConvert a #RGB or #RRGGBB color into three RGB channel values.Text & codeRGB to HEX colorTurn three integer RGB channels into a six-digit hexadecimal web color.Text & codeRGB to HSL colorTranslate integer RGB channels into hue, saturation and lightness.Text & codeHSL to RGB colorTurn hue, saturation and lightness into integer RGB channels.Text & codeDecimal to binaryConvert a whole decimal integer into base-two digits without a size limit.Text & codeBinary to decimalRead a base-two whole number as an exact decimal integer.Text & codeDecimal to hexadecimalConvert a whole decimal integer to hexadecimal notation with a 0x prefix.Text & codeHexadecimal to decimalRead a hexadecimal whole number as an exact decimal integer.Text & codeUnix timestamp to ISO 8601Convert Unix seconds since 1970-01-01 UTC into an ISO 8601 UTC date-time.Text & codeISO 8601 to Unix timestampConvert an ISO 8601 date-time with a timezone into Unix seconds.Text & codeEncode Base32Base32 groups UTF-8 bits into five-bit symbols using RFC 4648 letters A–Z and digits 2–7. Convert locally in your browser.Text & codeDecode Base32Base32 groups UTF-8 bits into five-bit symbols using RFC 4648 letters A–Z and digits 2–7. Convert locally in your browser.Text & codeEncode Base58Base58 treats UTF-8 bytes as a large integer and writes it with the Bitcoin alphabet, omitting visually ambiguous characters. Convert locally in your browser.Text & codeDecode Base58Base58 treats UTF-8 bytes as a large integer and writes it with the Bitcoin alphabet, omitting visually ambiguous characters. Convert locally in your browser.Text & codeEncode quoted-printableQuoted-printable represents UTF-8 bytes using printable ASCII and =HH hexadecimal escapes as described in RFC 2045. Convert locally in your browser.Text & codeDecode quoted-printableQuoted-printable represents UTF-8 bytes using printable ASCII and =HH hexadecimal escapes as described in RFC 2045. Convert locally in your browser.Text & codeText to Unicode code pointsUnicode code points identify abstract characters by hexadecimal scalar value; a supplementary character uses one point, not two UTF-16 code units. Convert locally in your browser.Text & codeUnicode code points to textUnicode code points identify abstract characters by hexadecimal scalar value; a supplementary character uses one point, not two UTF-16 code units. Convert locally in your browser.Text & codeText to UTF-8 byte valuesUTF-8 serializes Unicode text into bytes; ASCII uses one byte, while many other characters use two to four bytes. Convert locally in your browser.Text & codeUTF-8 byte values to textUTF-8 serializes Unicode text into bytes; ASCII uses one byte, while many other characters use two to four bytes. Convert locally in your browser.Text & codeNormalize Unicode to NFCNFC performs canonical decomposition followed by recomposition, producing the common composed form. Convert locally in your browser.Text & codeNormalize Unicode to NFDNFD performs canonical decomposition, separating a precomposed character into base character and combining mark where defined. Convert locally in your browser.Text & codeNormalize Unicode to NFKCNFKC applies compatibility decomposition followed by recomposition; typographic distinctions can disappear. Convert locally in your browser.Text & codeNormalize Unicode to NFKDNFKD applies compatibility decomposition without recomposition, exposing base characters and combining marks. Convert locally in your browser.

15 / 15

Code Beautify

Format source code and move structured data between common developer formats.

View category
Code BeautifyFormat CSSIndent a CSS stylesheet to reveal rules and declarations.Code BeautifyMinify CSSRemove safe layout whitespace from a CSS stylesheet.Code BeautifyFormat HTMLLay out explicitly nested HTML tags for easier inspection.Code BeautifyMinify HTMLCompact safe structural whitespace in HTML.Code BeautifyFormat XMLIndent simple well-formed XML with visible nesting.Code BeautifyMinify XMLCompact whitespace between element-only XML nodes.Code BeautifyFormat SVGIndent a simple SVG element tree for editing.Code BeautifyMinify SVGCompact whitespace between SVG elements.Code BeautifyFormat SQLPlace common SQL clauses on separate lines.Code BeautifyCompact SQLCollapse extra SQL spacing while keeping quoted values.Code BeautifyFormat JavaScriptIndent simple JavaScript blocks and explicit statements.Code BeautifyJSON to YAMLWrite JSON values in a readable YAML subset.Code BeautifyYAML to JSONConvert a supported YAML mapping or list into JSON.Code BeautifyJSON to CSVTurn a flat JSON object array into CSV rows.Code BeautifyCSV to JSONTurn a header-based CSV table into JSON objects.Code BeautifyJSON to XMLMap a JSON object with one root to XML elements.Code BeautifyXML to JSONMap a simple XML document to a JSON object.Code BeautifyMarkdown to HTMLRender common Markdown headings, lists and emphasis as HTML.Code BeautifyHTML to MarkdownConvert supported semantic HTML tags to Markdown.Code BeautifyEscape JavaScript stringTurn text into a quoted JavaScript string literal.Code BeautifySort JSON keysAlphabetize object keys recursively without changing array order.Code BeautifyFlatten JSON objectTurn nested JSON object properties into JSON Pointer path keys.Code BeautifyUnflatten JSON objectRebuild nested JSON objects from JSON Pointer path keys.Code BeautifyEscape JSON Pointer tokenEscape a property name for use as one JSON Pointer token.Code BeautifyUnescape JSON Pointer tokenRecover a property name from one JSON Pointer token.Code BeautifyQuery string to JSONRead URL query parameters as a JSON object, retaining repeated keys.Code BeautifyJSON to query stringWrite a flat JSON object as URL query parameters.Code BeautifyCSV to TSVChange a comma-separated table into tab-separated text.Code BeautifyTSV to CSVChange a tab-separated table into comma-separated text.Code BeautifyJSON Lines to arrayCombine one JSON value per line into a JSON array.Code BeautifyJSON array to LinesWrite every item of a JSON array on its own JSON line.Code BeautifyUnescape JavaScript stringRead a quoted JSON-compatible JavaScript string literal as plain text.