A lightweight collection of developer utilities running on Cloudflare Workers and powered by x402 payments on Stacks mainnet.
Simple tools for developers, bots and AI agents.
What this does: Turns messy JSON into clean, readable JSON.
In simple terms: Send unformatted JSON and get an easy-to-read version back.
POST /api/format
{
"json": "{\"name\":\"Koyori\",\"tools\":61}"
}
Result:
{
"name": "Koyori",
"tools": 61
}
Validate and beautify JSON strings.
Create a SHA-256 hash from UTF-8 text.
Test a regular expression and inspect its matches safely.
Encode UTF-8 text or decode Base64 data.
Encode and decode URL components.
Convert between Unix timestamps and ISO dates.
Count characters, words and UTF-8 bytes.
Remove duplicate lines while preserving their original order.
Sort text lines in ascending or descending text or numeric order.
Keep or remove lines that match a text query.
Add sequential numbers to each line of text.
Trim lines, collapse extra spaces, and optionally remove empty lines.
Convert CSV text into JSON rows.
Convert JSON objects into CSV text.
Generate a random UUID v4 identifier.
Minify JSON text into a compact string.
Parse URLs into structured components.
Decode JWT header and payload without signature verification.
Encode and decode URL-safe Base64 text.
Parse URL query strings into structured JSON.
Convert Markdown text into HTML.
Convert HTML text into Markdown.
Convert HTML into clean plain text.
Escape and unescape text for JSON strings.
Convert text between upper, lower, camel, snake, kebab, and pascal case.
Convert UTF-8 text to and from hexadecimal.
Turn text into a clean URL-friendly slug.
Generate random strings or integers.
Convert colors between HEX and RGB formats.
Extract public HTTP and HTTPS links from web pages.
Search public web page text for a keyword.
Get basic information about a public web page.
Extract titles, descriptions, Open Graph data, and canonical URLs.
Fetch public web pages and text resources.
Find and replace text with optional case-sensitive and replace-all controls.
Analyze text length, words, lines, spacing, and average word length.
Reverse text by characters, words, or lines.
Truncate long text to a maximum length with an optional suffix.
Pad text on the left or right to a target length.
Convert text into a clean, URL-friendly slug.
Convert text into camelCase format.
Convert text into PascalCase format.
Convert text into snake_case format.
Convert text into kebab-case format.
Convert text into Title Case format.
Convert text into sentence case format.
Lowercase only the first character of text.
Uppercase only the first character of text.
Remove all whitespace characters from text.
Collapse repeated whitespace into a single space.
Remove leading and trailing whitespace from text.
Remove leading whitespace from text.
Remove trailing whitespace from text.
Repeat text a specified number of times.
Add a prefix to the beginning of text.
Add a suffix to the end of text.
Remove a matching prefix from the beginning of text.
Remove a matching suffix from the end of text.
Extract a portion of text using start and optional end positions.
Check whether text contains a search string.
Compare two JSON objects to find added, removed and changed fields.
Validate JSON types, required fields, properties, arrays and enums.
Generate a basic JSON Schema from sample JSON data.
Generate sample JSON data from a basic JSON Schema.
Generate Markdown documentation from a basic JSON Schema.
Analyze JSON Schema properties, types, depth, arrays and enums.
List required JSON Schema fields, including nested objects and arrays.
Summarize JSON Schema data types, percentages and field paths.
Find JSON Schema fields by name or data type, including nested paths.
Compare two JSON Schemas to find added, removed and changed fields.
Check basic JSON Schema compatibility in both directions.
Generate valid and invalid JSON test cases from a basic JSON Schema.
List keys of a JSON object, optionally including nested paths.
Read a JSON value by a dot-separated or bracketed numeric path.
Flatten nested JSON objects and arrays into dotted paths.
Count the most common words in text.
Compare two texts line-by-line and summarize changes.
Summarize column counts and missing cells in CSV.
Create a URL with encoded query parameters.
Escape text safely for HTML display.
Select named top-level fields from a JSON object.
Remove named top-level fields from a JSON object.
Shallow or deeply merge two JSON objects.
Rebuild nested JSON from safe dotted key paths.
Filter an array of objects by a field value.
Sort an array of objects by a field.
Deduplicate JSON array values.
Summarize JSON value types and collection sizes.
Join text lines with a custom separator.
Extract email address candidates from text.
Extract distinct hashtags from text.
Mask all but the final characters of a text value.
Replace named placeholders with supplied values.
Count frequent word sequences in text.
Choose columns from a CSV document.
Rename CSV column headings.
Inspect the hostname and parts of an HTTP URL.
Combine an HTTP base URL with path segments.
Add days, hours or minutes to an ISO timestamp.
Compute elapsed time between two ISO timestamps.
Remove null values from objects recursively.
Calculate nesting depth of JSON data.
Rename a safe key in a JSON object.
Count primitive value types in nested JSON.
Convert a JSON object into key-value entries.
Build an object from key-value entries.
Fill missing top-level fields using defaults.
Add a prefix to keys in a flat JSON object.
Add a suffix to keys in a flat JSON object.
Measure compact JSON size in UTF-8 bytes.
Split an array into chunks of chosen size.
Extract a specified index range from an array.
Rotate array elements by a given offset.
Find distinct values common to two arrays.
Find distinct items present only in the left array.
Combine two arrays removing duplicate values.
Group JSON objects by a named field.
Count JSON objects by a named field.
Paginate arrays with page and size.
Partition objects by equality on a field.
Wrap plain text at a chosen character width.
Extract initials from words in a name or phrase.
Check whether normalized text reads the same backward.
Compare whether two phrases use the same letters.
Calculate the fraction of words matching a keyword.
Extract numeric tokens from plain text.
Find HTTP and HTTPS URL candidates in plain text.
Replace email addresses with a privacy placeholder.
Measure the character count of each text line.
List distinct words shared between two texts.
Keep a number between minimum and maximum values.
Generate a bounded arithmetic sequence.
Calculate min, max, average, and median.
Calculate percentage change between two numbers.
Compute a percentage of a numeric total.
Convert safe integers between bases 2 and 36.
Check whether a bounded positive integer is prime.
Calculate greatest common divisor of two integers.
Calculate least common multiple of two integers.
Round numbers to a requested decimal precision.
Get weekday information from ISO timestamps.
Count weekdays between two UTC dates excluding the end.
Convert an ISO timestamp to midnight UTC.
Calculate ISO 8601 week number and week-year.
Find the number of days in an ISO date month.
Calculate full years elapsed between dates.
Shift a timestamp by a numeric number of hours.
Get the first and last UTC dates of a month.
Get the ordinal day of a UTC calendar year.
Get calendar quarter for an ISO timestamp.
Select top-level keys into a new JSON object.
Remove selected top-level fields.
Sort top-level JSON object keys lexicographically.
Invert a flat string-to-string mapping.
Check object keys against a list of allowed field names.
Find missing top-level required object fields.
Find top-level keys matching a JSON value exactly.
Report character lengths of top-level object keys.
Convert an object into two-element tuple pairs.
Build an object from two-element tuple pairs.
Return an array in reverse order.
Take the first N array elements.
Drop the first N array elements.
Deduplicate array items by JSON representation.
Find the first index of a JSON value.
Find the last index of a JSON value.
Zip two arrays into ordered pairs.
Split an array of pairs into left and right arrays.
Count distinct JSON values in an array.
Generate consecutive fixed-size windows from an array.
Split text into an array of lines.
Join string array items into newline separated text.
Add a prefix to every line of text.
Append a suffix to every line of text.
Count blank lines in plain text.
Indent every line by the specified number of spaces.
Remove common leading whitespace from non-empty lines.
Extract the first line of text.
Extract the last line of text.
Return line numbers containing a string.
Return the absolute magnitude of a finite number.
Return -1, 0 or +1 for a number.
Check if a numeric value is an integer.
Determine the parity of a bounded integer.
Sum a list of finite numeric values.
Multiply a list of finite numbers.
Calculate the minimum and maximum of a list.
Calculate the average of finite numbers.
Find the median of finite numeric values.
Express two numbers as a ratio and decimal.
Convert a timezone-aware ISO date to milliseconds.
Convert an ISO date to Unix seconds.
Extract UTC year, month, day and time components.
Compare two timezone-aware ISO date-times.
Calculate signed minutes between two dates.
Calculate signed hours between two dates.
Add or subtract bounded minutes from a timestamp.
Add or subtract bounded UTC days.
Check if an ISO date falls in a leap year.
Check whether an ISO date falls on Saturday or Sunday UTC.
Count top-level JSON properties.
Count primitive and container nodes in JSON.
Enumerate leaf JSON paths using bracket notation.
Describe top-level JSON field types.
Return top-level JSON fields containing strings.
Return top-level JSON fields containing numbers.
List top-level JSON properties with null values.
Extract boolean-valued top-level object properties.
Check whether a JSON object has any own keys.
Look up a string key in an array of key/value pairs.
Test whether all array elements equal a target value.
Flatten one level of nested arrays.
Check if every item in an array is unique by JSON value.
Compare two arrays element-by-element.
Count unique array values shared by two arrays.
Find values present in only one of two arrays.
Count array values equal to a JSON target.
Group JSON objects by a top-level string/number field.
Extract a named field from an array of JSON objects.
Remove null values from an array.
Count Unicode decimal digits in text.
Count uppercase Unicode letters in text.
Count lowercase Unicode letters in text.
Find the longest word in a text.
Find the shortest word in a text.
List distinct words in first-occurrence order.
Estimate sentence count using punctuation boundaries.
Count Unicode punctuation symbols in text.
Wrap a string in a supplied prefix and suffix.
Remove leading numbered-list prefixes from each line.
Calculate the nth triangular number of a bounded integer.
Square a finite input number with overflow protection.
Compute one divided by a nonzero number.
Calculate a weighted arithmetic mean.
Calculate the population variance of a numeric list.
Calculate population standard deviation.
Convert temperatures from Celsius to Fahrenheit.
Convert temperatures from Fahrenheit to Celsius.
Test whether a bounded positive integer is prime.
Bin numeric samples into a fixed number of equal-width buckets.
Return first UTC instant of the calendar year.
Return last UTC millisecond of a calendar year.
Return the UTC first instant of a calendar month.
Return last millisecond of a UTC calendar month.
Return last millisecond of a UTC calendar day.
Return the English UTC weekday name.
Check if a UTC date is the first day of its month.
Shift a timestamp by a bounded number of seven-day weeks.
Calculate signed fractional days between ISO timestamps.
Check if a UTC date is last calendar day of its month.
Compare JSON values regardless of object key order.
Rename a top-level JSON object property.
Retain selected top-level object fields.
Remove selected top-level object fields.
Convert an object into key-value pairs.
Build an object from key-value pairs.
Sort object properties alphabetically.
Count immediate object properties by JSON data type.
List object keys starting with a prefix.
List object keys ending with a suffix.
Rotate elements left by a chosen offset.
Rotate elements right by a chosen offset.
Take values from the start while they match a value.
Remove values from the start while matching a value.
Alternate items from two arrays.
Pair two arrays by matching indexes.
Split an array of pairs into two arrays.
Pad an array to a given length.
Prepend a padding value to reach a length.
Split an array at a specified position.
Add a prefix to every input line.
Append a suffix to every input line.
Indent each line by a bounded number of spaces.
Remove up to N leading spaces from each line.
Extract first letters from space-separated words.
Count Latin vowel letters in text.
Count Latin consonant letters in text.
Extract signed decimal numbers from a string.
Check whether text ends with a given string.
Check whether text starts with a given string.
Compute the absolute value of a finite number.
Report a number sign as -1, 0, or 1.
Cube a number with overflow protection.
Calculate nonnegative modulo for a nonzero divisor.
Calculate a percentage of a number.
Calculate percent change from a starting value.
Test whether a safe integer is even.
Test whether a safe integer is odd.
Calculate factorials for nonnegative integers up to 170.
Find GCD of two bounded integers.
Extract the UTC calendar year.
Extract the UTC month number.
Extract UTC day of month.
Extract the UTC hour from an ISO timestamp.
Extract the UTC minute from an ISO timestamp.
Extract the UTC second from an ISO timestamp.
Test if a date is Saturday or Sunday in UTC.
Find the UTC quarter of the year.
Get the first UTC instant of a calendar quarter.
Get the last UTC millisecond of a calendar quarter.
POST /api/hash
{
"text": "hello"
}
Unauthenticated requests return:
HTTP 402 Payment Required