Image → data: URI
Encoders /api/v1/utility/data-uriFetch an image from URL and base64-encode it as a data: URI for inlining.
Result
Raw JSON
API / curl
0 ms · live
{
"ok": false,
"error": "invalid_url",
"data": null
}
{
"ok": false,
"slug": "utility/data-uri",
"title": "Image \u2192 data: URI",
"ms": 0,
"data": {
"ok": false,
"error": "invalid_url",
"data": null
},
"source": "live",
"meta": []
}
JSON endpoint
/api/v1/utility/data-uri?q=hello+world
curl
curl -s '/api/v1/utility/data-uri?q=hello+world'
How to use Image → data: URI
-
1
Paste your input
Enter the value at the top — domain, IP, URL, email, ASN, hash, whatever fits this tool. The smart input auto-detects type.
-
2
Click "Inspect"
host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.
-
3
Open the API tab
Every web tool has a sibling /api/v1/utility/data-uri JSON endpoint with the same payload. One copy-as-curl click and you're scripting it.
API equivalent
/api/v1/utility/data-uri?q=hello+world
curl -s '/api/v1/utility/data-uri?q=hello+world'
Embed this tool
<iframe src="/utility/data-uri?q={INPUT}&embed=1"
width="100%" height="600" frameborder="0"></iframe>
Drop into any HTML page. The embed=1 flag hides nav and footer.
FAQ · Image → data: URI
Common questions
Is Image → data: URI free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/utility/data-uri is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass
?nocache=1 for a forced refresh.Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI:
host.tools utility data-uri YOUR_INPUT.Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro
Run Image → data: URI on a schedule. Get pinged when it changes.
Pro gets you bulk lookups, monitors, webhook alerts, history, exports and 10,000 API calls/day. $19/mo.
- ✓Schedule any tool — every 1, 5, 15, 60 min
- ✓Diff against last run, alert on change
- ✓Webhook + email + Slack + PagerDuty + OpsGenie
- ✓Bulk CSV upload, 1,000 inputs per job
- ✓Export results as CSV / NDJSON / Excel
- ✓90-day history, comparison view