Collection of useful online tools and APIs running at tools.tomaskral.eu
Convert YAML content from any URL to JSON format.
Endpoints:
GET https://tools.tomaskral.eu/yaml-to-json?url={yaml_url}POST https://tools.tomaskral.eu/yaml-to-jsonGET Request Example:
curl "https://tools.tomaskral.eu/yaml-to-json?url=https://example.com/config.yaml"
POST Request Example:
curl -X POST https://tools.tomaskral.eu/yaml-to-json \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/config.yaml"}'
Success Response: Returns the converted JSON directly without wrapping:
{
"name": "example",
"version": "1.0.0",
"dependencies": {
"express": "^4.18.2"
}
}
Error Responses:
Error format:
{
"error": "Invalid YAML format",
"message": "The content at the provided URL is not valid YAML"
}
Base URL: https://tools.tomaskral.eu
Available Endpoints:
/ - This documentation page/api - JSON API metadata/health - Health check endpoint/yaml-to-json - YAML to JSON converterHealth Check:
curl https://tools.tomaskral.eu/health
Response:
{
"status": "healthy",
"timestamp": "2025-09-09T12:00:00.000Z"
}
curl "https://tools.tomaskral.eu/yaml-to-json?url=https://raw.githubusercontent.com/docker/compose/v2/docs/reference/compose_spec.yaml"
curl "https://tools.tomaskral.eu/yaml-to-json?url=https://raw.githubusercontent.com/kubernetes/examples/master/guestbook/frontend-deployment.yaml"
curl "https://tools.tomaskral.eu/yaml-to-json?url=https://raw.githubusercontent.com/actions/starter-workflows/main/ci/node.js.yml"
The API uses proper HTTP status codes:
All errors return JSON with error and message fields for debugging.
Currently no rate limiting is implemented. Please use responsibly.
This is an open-source project. To add new tools:
src/tools/src/routes.jsAPI by Tomas Kral • Health Check • JSON API Info