Skip to content
codeknife
Blog
Ideas
About
Log in
Member
Jump to a tool
Ctrl K
EN
EN
English
NL
Nederlands
DE
Deutsch
FR
Français
ES
Español
PT
Português
TR
Türkçe
ID
Bahasa Indonesia
JA
日本語
ZH
简体中文
KO
한국어
Theme: System
Contrast: Standard
codeknife
Home
Encoding
Base64 encoder and decoder
URL encode, decode and parse
HTML entity encoder and decoder
Escape and unescape strings
Number base converter
Formatting
JSON formatter and validator
SQL formatter and minifier
YAML, TOML and JSON converter
Colour converter
Markdown preview
Validation
Validators: IBAN, BSN, VAT, card and ISBN
EAN, UPC and GTIN check digits
Generators
UUID and ULID generator
Test data generator
Barcode and QR code generator
Security
Hash and HMAC generator
Password generator and strength checker
JWT decoder and verifier
chmod calculator
Network
CIDR and IP subnet calculator
User-agent parser
Convert cURL to code
Text
Regex tester
Sort lines
Remove duplicate lines
Compare lists and text
Text case converter and slugify
Glob and .gitignore tester
Data
CSV and JSON converter
Date and time
Unix timestamp converter
Cron expression explainer
Your membership
Keyboard shortcuts
Close
Everywhere
Search tools and actions
Ctrl K
Show this help
?
Switch theme
Ctrl Shift L
Pin the selected tool (in search)
Ctrl P
On a tool
Send the output to the first suggestion
Ctrl ↵
Open a file into the input
Ctrl O
Copy the output
Ctrl Shift C
Close search
esc
tools
Base64 encoder and decoder
Encode text to Base64 or decode Base64 back to text, with standard and URL-safe alphabets.
Encoding
JSON formatter and validator
Format, minify and validate JSON, with the exact line and column of any error.
Formatting
Regex tester
Test JavaScript regular expressions with live highlighting, capture groups and a plain-language explanation.
Text
UUID and ULID generator
Generate UUID v4, UUID v7 and ULID in bulk, or paste an ID to see its version, variant and timestamp.
Generators
Unix timestamp converter
Convert Unix timestamps to dates and back, in any time zone, with ISO 8601, RFC 2822 and relative time.
Date and time
Hash and HMAC generator
Calculate MD5, SHA-1, SHA-2, SHA-3, BLAKE2, BLAKE3 and CRC-32 hashes of text or a file, with optional HMAC.
Security
Password generator and strength checker
Generate random passwords, passphrases and PINs, or check how strong a password is.
Security
JWT decoder and verifier
Decode a JSON Web Token, check its expiry and claims, and verify its signature with a secret or public key.
Security
CIDR and IP subnet calculator
Calculate the range, mask and size of IPv4 and IPv6 networks, split them into subnets, and check what contains or overlaps what.
Network
Cron expression explainer
Read a cron expression in plain language, see its next runs in any time zone, and tidy it into its standard form.
Date and time
Sort lines
Sort lines of text A to Z or Z to A, in natural order (file2 before file10), by code point, by number or by length.
Text
Remove duplicate lines
Remove duplicate lines from a list, keep the first or last copy, ignore case or spaces, or drop every line that repeats.
Text
Compare lists and text
Compare two lists line by line: find what is in both, only in one, or in either, or see a marked line diff side by side.
Text
Text case converter and slugify
Convert text to camelCase, snake_case, kebab-case, Title Case and more, or turn a title into a URL slug with accents handled.
Text
URL encode, decode and parse
Percent-encode and decode text for URLs, or take a URL apart into scheme, host, path and query and edit the query as a table.
Encoding
Validators: IBAN, BSN, VAT, card and ISBN
Check an IBAN, Dutch BSN, credit card number, EU VAT number, email address, URL or ISBN, with the reason when it fails. One value per line.
Validation
HTML entity encoder and decoder
Escape text for HTML with named, decimal or hex entities, or turn entities such as & and é back into characters.
Encoding
Escape and unescape strings
Escape text for a JSON or JavaScript string, a SQL string, a CSV field, a regular expression or a shell word, or undo the escaping.
Encoding
EAN, UPC and GTIN check digits
Check the check digit of an EAN-8, EAN-13, UPC-A or GTIN-14, add a missing one, read the country from the GS1 prefix and convert between ISBN-10 and EAN-13. One code per line.
Validation
Test data generator
Generate valid-looking test IBANs, BSNs, EAN barcodes and EU VAT numbers in bulk. They pass the checks, but belong to no one.
Generators
SQL formatter and minifier
Format SQL so each clause sits on its own line, or minify it onto one line, for MySQL, PostgreSQL, SQLite, SQL Server and BigQuery.
Formatting
Number base converter
Convert numbers between binary, octal, decimal, hex and any base from 2 to 36, with big numbers, two's complement and a bit view.
Encoding
YAML, TOML and JSON converter
Convert between JSON, YAML and TOML, or validate and pretty-print a document, with the line and column of every error.
Formatting
CSV and JSON converter
Convert CSV to a JSON array of objects or arrays, or JSON back to CSV. Detects the delimiter and reads Dutch Excel files with semicolons and decimal commas.
Data
Glob and .gitignore tester
Test glob patterns and .gitignore rules against a list of paths and see which paths match and which rule matched them.
Text
Colour converter
Convert a colour between HEX, RGB, HSL, HWB and OKLCH, check its WCAG contrast against a background, or build a Material 3 tonal palette from it.
Formatting
chmod calculator
Convert Unix file permissions between octal (755), letters (rwxr-xr-x), ls -l and chmod clauses, with a checkbox grid and the setuid, setgid and sticky bits.
Security
User-agent parser
Read a user-agent string: browser, engine, OS, device type and whether it is a bot. Leave it empty to read your own browser.
Network
Convert cURL to code
Paste a cURL command and get the same request as fetch, Axios, Python requests, Go or PHP. Nothing is run and nothing is sent.
Network
Markdown preview
Write Markdown and see it rendered as you type, or copy the HTML. Raw HTML is shown as text and links are checked, so nothing in the preview can run.
Formatting
Barcode and QR code generator
Make a QR code, EAN-13, UPC-A, Code 128, ITF-14 or Data Matrix barcode, download it as SVG or PNG, or read a code from an image.
Generators
pages
Changelog
What changed in each release
pages
About
What codeknife.dev is and who makes it
pages
Ideas
Suggest improvements and vote on other visitors’ ideas.
pages
Privacy
What leaves your browser and what is stored
pages
Accessibility
Conformance, known limitations and how to report a problem
pages
Membership
Remove ads and raise the limits
pages
actions
Switch theme
Ctrl Shift L
Change language
Keyboard shortcuts
?