OCRRouterGet API key

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

  1. Step 1
    Upload or drop an image
  2. Step 2
    We host it and give you a direct URL
  3. Step 3
    Copy 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.

Get API key

curl https://api.ocrrouter.ai/v1/files \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -F "file=@photo.png" \
  -F "public=true" \
  -F "expires_in=604800"

# {"id":"file_…","url":"https://ocrrouter.ai/f/…/photo.png","expires_at":"…"}

Questions

More free tools