Data and Code Converters

Number Base, Epoch, cURL, CSS Colour and Case Converters

The conversions developers, designers and analysts do between other jobs. Read a Unix timestamp, turn hex into binary, rewrite a cURL command as code, change a colour from hex to OKLCH, convert pixels to rem, reformat a key, or switch a coordinate from decimal degrees to degrees, minutes and seconds.

Most used this week

Every Data & Code tool

BPM To Milliseconds Calculator

Tempo to delay times in ms and Hz for every note value, and back.

Base Converter

Convert numbers between binary, octal, decimal and hex.

CSS Colour Converter

Convert CSS colours between hex, rgb, hsl, hwb, lab, lch and oklch.

CSS Nesting Converter

Nest flat CSS with & or flatten nested CSS back into plain rules.

CURL Converter

Turn a curl command into code in 24 languages.

Case Converter

Seven case conversions, from shouted headline to variable name.

Coordinate Converter

Convert lat/lng between decimal, DMS and UTM on a map.

Date To Words Converter

Write any date out in words for invitations, cheques and documents.

Epoch Converter

Convert Unix timestamps to dates and back again.

GPX Converter

Convert GPX, KML and GeoJSON to each other or to CSV.

Hours To Minutes Converter

Convert between seconds, minutes, hours, days and weeks.

IP Range To CIDR Converter

Turn start and end IP addresses into the fewest CIDR blocks.

Jeans Size Converter

Turn waist and inseam measurements into W/L jeans sizes and conversions.

Modern CSS Units Converter

Convert ch, cap, lh, dvh, cqi and other modern CSS units to px.

Number To Words Converter

Numbers to English words and written numbers back to digits.

PEM To JWK Converter

Convert public and private keys between PEM and JWK.

Punycode Converter

Convert domains between Unicode and xn-- Punycode in both directions.

SSH Key Converter

Convert SSH public keys between OpenSSH, SSH2 and PEM formats.

Tailwind Colour Converter

Convert hex codes to the nearest Tailwind class, or Tailwind classes to hex.

Tailwind To CSS

Turn Tailwind utility classes into plain CSS declarations.

Unicode Converter

Convert text to and from code points, escapes, entities and UTF-8 bytes.

Viewport Unit Converter

Convert px to vw, vh, vmin, vmax and rem for any viewport size.

Numbers and time

The base converter moves between binary, octal, decimal and hexadecimal. The epoch converter turns Unix seconds or milliseconds into a readable date in your time zone and back. Other pages turn numbers and dates into words for cheques and documents, hours into minutes, and a tempo into milliseconds per beat for delay settings.

Front-end formats

Colour converters translate between hex, RGB, HSL, OKLCH and Tailwind palette names. CSS unit converters work out rem, em, viewport and container units from pixels, and the Tailwind and nesting converters rewrite stylesheet syntax so code moves between projects.

Keys, addresses and requests

PEM and JWK are two encodings of the same cryptographic key, and SSH keys come in several formats; these pages convert between them locally, so a private key never leaves your machine. Punycode turns international domain names into the ASCII form DNS uses, CIDR tools turn an IP range into blocks, and the cURL converter rewrites a request as fetch, Python or Go.

Maps and text

Coordinate and GPX converters handle the formats GPS units and mapping apps export. Text converters change case and inspect Unicode code points, the small jobs that otherwise need a script.

Explore other categories