104 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

02 / 15

Mass

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

View category

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.

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.