Bring micro-utilities into your workflow.
A lightweight PHP API for formatting, encoding, hashing and generation tasks. Authentication uses an X-API-Key header.
Create free API keyv1 stable
Quick start
Send a JSON POST request to the endpoint with a tool name and input.
POST https://freedevtools.whitecoder.lk/api/v1Content-Type: application/json
X-API-Key: wc_live_your_key
{
"tool": "json_format",
"input": "{\"name\":\"FreeDevTools\"}"
}Authentication
Pass your private API key using the X-API-Key request header. Keys are stored as SHA-256 hashes and cannot be recovered after creation.
Available tools
json_formatPretty-print and validate JSONjson_minifyMinify valid JSONbase64_encodeEncode UTF-8 textbase64_decodeDecode Base64 texturl_encodeURL-encode a valueurl_decodeDecode a URL valuehashGenerate MD5/SHA hash; add algorithmbcryptGenerate password-safe bcrypt hashuuidGenerate UUID v4 values; add counttimestampConvert Unix timestamp or datejwt_decodeDecode JWT header and payloadslugGenerate a URL slughtml_entitiesEncode or decode HTML entitiesutmBuild a campaign URLmeta_tagsGenerate SEO meta tagscode_minifyBasic HTML/CSS/JS minificationmarkdownConvert safe Markdown to HTMLExamples
cURL
curl -X POST "https://freedevtools.whitecoder.lk/api/v1" \
-H "X-API-Key: wc_live_..." \
-H "Content-Type: application/json" \
-d '{"tool":"hash","algorithm":"sha256","input":"hello"}'JavaScript
const response = await fetch("https://freedevtools.whitecoder.lk/api/v1", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "wc_live_..."
},
body: JSON.stringify({
tool: "uuid",
count: 5
})
});
const data = await response.json();Errors and rate limits
Responses always include an ok boolean. HTTP 401 means the key is missing or invalid, 429 means the daily quota is exhausted, and 422 indicates invalid tool input.
{
"ok": false,
"error": {
"code": "invalid_input",
"message": "Input must be valid JSON."
}
}