Code
Format, encode, test and try code.
- Base64 DecoderDecode Base64 back to text or a file
- Base64 EncoderEncode text or files as Base64 and data URLs
- CSS FormatterBeautify CSS rules and media queries
- CSS MinifierSmaller CSS with strings and comments handled safely
- HTML FormatterBeautify HTML with consistent indentation
- HTML MinifierRemove whitespace and comments from HTML
- CSS PlaygroundTry CSS against live HTML
- HTML / CSS / JS PlaygroundWrite code and see it run in a locked-down sandbox
- JavaScript PlaygroundRun JavaScript with a console, no network access
- Diff CheckerCompare text, JSON or code side by side
- Hex DecoderHexadecimal bytes back to text
- Hex EncoderText to hexadecimal UTF-8 bytes
- Text ⇄ ASCII CodesCharacters to decimal byte values and back
- Text ⇄ BinaryText to 8-bit binary and back
- Text ⇄ OctalCharacters to octal byte values
- Hash GeneratorSHA-1, SHA-256, SHA-384, SHA-512 and HMAC
- ASCII TableAll 128 ASCII characters with decimal, hex, octal and binary
- Git Command ReferenceEveryday git commands, with undo recipes
- Regex PatternsReady-made patterns for emails, URLs, dates and more
- Regex TesterLive matching, capture groups and replace
- SQL FormatterFormat and highlight SQL for many dialects
- SQL MinifierCollapse SQL onto a single line
- URL DecoderDecode percent-encoded URLs and parameters
- URL EncoderPercent-encode text and parse query strings
- chmod CalculatorUnix permissions: checkboxes, octal, symbolic and umask
- Code to ImageBeautiful highlighted code screenshots for slides and posts
- Cron Expression HelperExplain cron schedules and preview next runs
- Conventional Commit BuilderWell-formed commit messages with type, scope and breaking changes
- Git Branch Name GeneratorClean branch names from a ticket and description
- GitHub URL ParserOwner, repo, branch and path, plus raw, clone and ZIP links
- Gitignore GeneratorCombine templates for Node, Python, Go, Rust, Next.js, IDEs and OSes
- SemVer CalculatorParse, compare and bump versions; check npm ranges
- SemVer ParserMajor, minor, patch, pre-release and build parts
- Axios Code GeneratorAxios request code for any request
- HTTPie Command GeneratorHTTPie commands for any request
- cURL ConverterTurn a cURL command into fetch, Axios, Python, Go or PHP
- cURL GeneratorBuild a cURL command from a request form
- fetch() Code GeneratorJavaScript fetch code for any request
- HTTP Status CodesEvery status code with meaning and usage
- JSON EscapeTurn text into a JSON string literal
- JSON FlattenNested objects to dot-path keys
- JSON MinifierRemove whitespace and see the size saved
- JSON Sort KeysAlphabetize keys at every level
- JSON UnescapeTurn a JSON string literal back into text
- JSON UnflattenDot-path keys back to nested JSON
- JSON to TypeScriptGenerate interfaces from a JSON sample
- JSONPath TesterQuery JSON with $.store.book[*].title and filters
- JWT DecoderDecode header and claims, verify HMAC signatures
- MIME Type LookupFind the MIME type for an extension, or the reverse
- Mock CSV GeneratorSynthetic CSV datasets from a schema
- Mock Data GeneratorSynthetic users, orders and more, JSON, CSV, SQL or TypeScript
- Mock JSON GeneratorSynthetic JSON records from a schema
- IP Address ConverterIPv4 as integer, hex, binary and IPv4-mapped IPv6
- IP Range to CIDRThe smallest set of CIDR blocks covering a range
- IPv6 CalculatorCompress, expand and analyse IPv6 addresses and prefixes
- Subnet / CIDR CalculatorNetwork, broadcast, host range and mask for any IPv4 CIDR
- Subnet SplitterDivide a network into equal smaller subnets
- HTTP Headers ReferenceWhat every common request and response header does
- Regex EscapeEscape special characters so text matches literally
- Regex Match ExtractorPull every match or capture group into a list
- Regex SplitterSplit text on a regular expression
- CSV to SQL INSERTINSERT statements (and CREATE TABLE) from CSV
- JSON to SQL INSERTINSERT statements from an array of JSON objects
- SQL IN Clause GeneratorTurn a list of values into IN (…)
- SQL INSERT GeneratorBatch INSERTs for PostgreSQL, MySQL, SQLite and SQL Server
- Timestamp ConverterUnix time, ISO 8601 and time zones
- Query String BuilderBuild properly encoded ?key=value strings
- Query String ParserSee every parameter in a URL, decoded
- URL CleanerStrip utm_, fbclid, gclid and other tracking from links
- URL ParserBreak a URL into protocol, host, path, query and fragment
- UTM CleanerRemove UTM campaign parameters from a link
- UTM Link BuilderCampaign URLs with utm_source, medium and campaign
- Nano ID GeneratorShort, URL-safe random IDs with custom alphabets
- UUID GeneratorGenerate UUID v4 and time-ordered v7 IDs
- XML FormatterPretty-print, minify and validate XML
- XML ValidatorCheck that XML is well-formed
- YAML FormatterValidate and format YAML, convert to JSON
- YAML ⇄ JSONConvert between YAML and JSON both ways