API Tools
6 free api tools: OpenAPI & Swagger Validator, Online API Client, JSON Schema Validator, Mock Data Generator, HAR File Viewer, HTTP Status Codes. Each one does its work in your browser, and nothing you paste is uploaded to oktools.dev.
Security
4 toolsData
6 toolsJSON Formatter & Validator
Format and validate JSON.
SQL Formatter & Beautifier
Format and minify SQL queries.
JSON Compare (Diff)
Compare two JSON documents.
Regex Tester & Explainer
Test regular expressions and see what they do.
Cron Expression Parser
Decode cron expressions and preview run times.
Text Diff & Compare
Compare two texts line by line.
API
6 toolsConverters
9 toolsBase64 Encoder/Decoder
Encode and decode Base64 text/files.
URL Encoder/Decoder
Encode URLs and query parameters.
Unix Timestamp Converter
Convert Unix timestamps to readable dates.
CSV ↔ JSON Converter
Convert between CSV and JSON.
JSON ↔ YAML ↔ TOML Converter
Convert between JSON, YAML and TOML.
Number Base Converter
Convert binary, octal, decimal and hex.
Color Converter & Contrast Checker
Convert HEX, RGB, HSL, OKLCH and check WCAG contrast.
Unit Converter
Convert kg to lbs, cm to inches, miles to km and more.
Time Zone Converter
Convert times between time zones and cities.
Images
4 toolsGenerators
5 toolsCredit Card Number Generator (test numbers only)
Generate valid-format test card numbers (non-functional).
UUID Generator
Generate UUID/GUID values.
SSN Generator
Generate fake Social Security Numbers with names.
Lorem Ipsum Generator
Generate placeholder text.
QR Code Generator
Create QR codes for links, Wi-Fi, contacts and more.
Which API tool for which job
When you are designing an API, the OpenAPI Validator checks an OpenAPI or Swagger document and reports what is wrong and where, and the JSON Schema Validator checks data against a schema (draft-04 to 2020-12) or infers a schema from a sample. The Mock Data Generator then produces realistic fake JSON from that schema for tests and prototypes.
When you are calling one, the API Client sends HTTP requests straight from your browser to the API you name and shows the status, headers and body. Because it is a web page, the API has to allow cross-origin requests. When a call fails, HTTP Status Codes explains every code, and the HAR Viewer opens a HAR file exported from your browser as a request waterfall and can strip cookies and tokens before you share it.
Not sure which status your own API should answer with? Read 401 vs 403 vs 404. If the browser blocked the call before any status came back, see CORS errors explained.
