Turn an image into a URL
Upload a JPG, PNG, WebP or GIF and get a direct image URL. Use it in Markdown, HTML, a chat or a vision API.
Your links
Your link shows up here.
Free. 10 links a day without an account. Links last 24 hours.
How it works
- Step 1Upload or drop an image
- Step 2We host it and give you a direct URL
- Step 3Copy the link, or the Markdown for it
Create links with the API
Upload with public=true and the response carries the URL. With an account a link can last up to 7 days, and you can delete it at any time. The link also works as file_url, so one more request turns the file into Markdown or JSON.
curl https://api.ocrrouter.com/v1/files \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-F "file=@photo.png" \
-F "public=true" \
-F "expires_in=604800"
# {"id":"file_…","url":"https://ocrrouter.com/f/…/photo.png","expires_at":"…"}