Extract Table Extract a table from an image. By Vegard Stikbakke. Source code on Github.

Open-source alternative: Upload an image



Paid alternative: Upload an image or PDF

Please enter your API key 

Or enter a url

Please enter your API key 
The URL of the file 

Example results

PDFs

Images


API details

Accepted file types are png and jpg images, and PDFs. To use the API directly, you can send an HTTP POST request to https://api.extract-table.com. Use the Content-Type header to specify what file you're sending, and put the file data in the request data.

Example using curl

curl -s https://api.extract-table.com \
    -H "Content-Type: image/png" \
    --data-binary @image.png

Example using Go

package main

import (
  "bufio"
  "bytes"
  "fmt"
  "net/http"
  "os"
)

func main() {
  data, _ := os.ReadFile("example.pdf")
  resp, _ := http.Post("https://api.extract-table.com", "application/pdf", bytes.NewReader(data))
  scanner := bufio.NewScanner(resp.Body)
  for i := 0; scanner.Scan(); i++ {
    fmt.Println(scanner.Text())
  }
}