Free data and code tools

Format, convert, encode, decode and check the data developers and students handle every day, without uploading anything. JSON, CSV and XML files, Base64, URL codes, tokens, hashes, UUIDs, number bases and timestamps are all worked out on your own device, and every tool was checked against a second, independent program.

Which one do I need?

You haveUse
JSON to read, tidy, minify or checkJSON Formatter
JSON to open in Excel or Google SheetsJSON to CSV
A CSV, or a sheet saved as CSV, that an app needs as JSONCSV to JSON
An XML file, feed or export that a newer app needs as JSONXML to JSON
JSON that a portal or an older system wants as XMLJSON to XML
A Base64 text, or a file to write as Base64Base64 Encode and Decode
A link full of %20 and % codes, or a value to put in a linkURL Encode and Decode
A token that starts with eyJJWT Decoder
A file to check, or a text to fingerprintHash Generator
A number like 1700000000 in a log or an API replyUnix Timestamp Converter
A need for unique IDsUUID Generator
A number in hex, binary, octal or another baseHex to Decimal Converter
Text with < or & to show in HTML, or entities to readHTML Entities Encoder
Text to put in a JSON string, or a string full of \n to readJSON Escape
The bytes of a text, in binary or hexText to Binary

Checked against a second program

A tool that turns one kind of data into another is only useful if it is exactly right, so each of these was checked against an independent program that shares none of its code. Base64 gave the same result as Python's base64 module in all 63,000 cases, messy copies with spaces, line breaks and missing = signs included. URL Encode matched JavaScript's own encodeURIComponent and encodeURI in 80,000 results. The Hex to Decimal Converter matched Python's integers in 147,952 results, two's complement patterns in 8, 16, 32 and 64 bits among them. The Hash Generator's MD5, written for this site from RFC 1321, passed the RFC's own test suite and matched Python's hashlib on 20,000 inputs in all five hashes. The Unix Timestamp Converter matched Python's date and time zone libraries in 21,000 results, including 1,482 times that never happened and 1,364 that happened twice around daylight saving changes. The five JSON, CSV and XML converters were given 239 test files, with nested data, Hindi and emoji, every CSV quoting case and files with mistakes among them, and every result agreed with Python's own json, csv and XML readers, the refusals of the broken files included.

JSON, CSV and XML files up to 200 MB

The converters and the JSON Formatter read files of up to 200 MB, in a background worker so the page keeps answering while they work: in our tests on a laptop, a 50 MB file took between 2.9 and 4.0 seconds, and the page was never kept waiting for more than 70 milliseconds. Each one follows fixed rules printed on its page, so the same file always gives the same result, and none of them guesses at a broken file: the mistake is named with its line and column. Numbers are kept exactly as written, so a long ID or a price like 180.00 never loses a digit, and values that look like numbers stay text unless you ask, so PIN codes and phone numbers keep their zeros.

Tools that work together

These jobs often come one after another. A JWT's exp and iat are Unix timestamps: the JWT Decoder shows them as dates already, and the Unix Timestamp Converter works out any other moment. Each part of a JWT is Base64URL, so Base64 Encode and Decode reads a single part too. A value in a link may be URL-encoded and then Base64-encoded, so decode it with URL Encode first and Base64 second; the Base64 page even hints at this when it meets a % sign. And when you need to prove that a file you sent arrived unchanged, send its SHA-256 from the Hash Generator along with it.

Exact, however long

Spreadsheets keep about 15 significant digits, and many programs stop at the 64-bit limit. These tools work with exact whole numbers instead: the Hex to Decimal Converter writes 2 to the 64th, 18,446,744,073,709,551,616, as 10000000000000000 in hexadecimal and handles 50,000 digits at a time, and the Unix Timestamp Converter keeps a timestamp to the nanosecond and doesn't wrap at the year 2038, where a signed 32-bit count of seconds ends.

Encoding is not hiding

Base64 and URL codes change how data is written so it can pass through systems built for text; anyone can read them back in a second. Decoding a JWT is only reading it: checking that it is genuine needs the key, which the decoder neither has nor asks for, so it never calls a token valid or expired. MD5 and SHA-1 are fine for catching a damaged or mixed-up copy, but a person who sets out to fake a file can beat them, so use SHA-256 when it matters. To keep a document private, lock it with Protect PDF.

What you paste stays on your device

Tokens, keys, log lines and work data are exactly what you shouldn't paste into a site that sends them to a server. Every tool here works inside your browser and never uploads what you type or open, and once a page has loaded it keeps working with the internet switched off: in our tests each one gave its result within 0.3 seconds with the network off.

Questions

How do I format and check JSON?

Paste it into JSON Formatter and press Format JSON. Valid JSON is laid out one item a line, or minified; a mistake is named with its line and column and a ^ under the place.

How do I open JSON in Excel?

Convert it with JSON to CSV, with UTF-8 for Excel on, and double-click the .csv. Nested names become columns like address.city, and Hindi stays readable.

How do I turn a CSV or an Excel sheet into JSON?

Save the sheet as CSV UTF-8, then drop it on CSV to JSON: each row becomes an object named by the header row, and values stay text unless you ask for numbers.

How do I convert XML to JSON, or back?

XML to JSON turns attributes into @ names and repeated tags into lists, by rules shown on the page; JSON to XML follows the same rules in reverse.

How do I decode a Base64 text?

Open Base64 Encode and Decode, choose Decode and paste the text. Quotes, a data: start and line breaks are left out for you, and a decoded picture or PDF is saved as a real file.

How do I read what is inside a JWT?

Paste it into JWT Decoder. It shows the header and the payload as JSON and turns exp and iat into dates. It only decodes: it never checks the signature, so it can't say a token is genuine.

How do I check that a download isn't damaged?

Choose the file in Hash Generator and paste the hash the website published into its compare box. A match means the file is complete and unchanged; prefer SHA-256 when several are offered.

How do I turn a Unix timestamp into a date?

Paste it into Unix Timestamp Converter. 1700000000 is Tuesday, 14 November 2023, 22:13:20 UTC, which was 03:43:20 the next morning in India. Auto tells seconds from milliseconds by size.

How do I make a UUID?

UUID Generator makes version 4 UUIDs, up to 1,000 at once, from your browser's secure random numbers, in small or capital letters, with or without hyphens and braces.

How do I convert hex to decimal?

Type the number in the hexadecimal box of Hex to Decimal Converter: the decimal, binary and octal boxes fill in at once, exactly, even for 50,000 digits. FF is 255, or -1 as a signed 8-bit number.

How do I put Hindi words or an & in a link?

Encode the value with URL Encode and Decode using Everything: Tom & Jerry becomes Tom%20%26%20Jerry, and चाय becomes %E0%A4%9A%E0%A4%BE%E0%A4%AF.

Is Base64 or a hash a way to hide a password?

No. Anyone can decode Base64 in a second, and MD5 and SHA-1 are for checking that copies match, not for security. To lock a PDF, use Protect PDF; for passwords, use a password manager.

Is what I paste uploaded?

No. Every tool here works inside your browser and never uploads your text, tokens or files, and once a page has loaded it keeps working with the internet switched off.

Are these tools free?

Yes, every one, with no sign-up and no limit set by us. Ads from Google help pay for the site.

Other kinds of tools