Options (6)
-o, --outfilebooleanExtract all tables from a PDF to a CSV file
Example:
tabula {{[-o|--outfile]}} {{file.csv}} {{file.pdf}}-f, --formatbooleanExtract all tables from a PDF to a JSON file
Example:
tabula {{[-f|--format]}} JSON {{[-o|--outfile]}} {{file.json}} {{file.pdf}}-p, --pagesbooleanExtract tables from pages 1, 2, 3, and 6 of a PDF
Example:
tabula {{[-p|--pages]}} 1-3,6 {{file.pdf}}-g, --guessbooleanExtract tables from page 1 of a PDF, guessing which portion of the page to examine
Example:
tabula {{[-g|--guess]}} {{[-p|--pages]}} 1 {{file.pdf}}-r, --spreadsheetbooleanExtract all tables from a PDF, using ruling lines to determine cell boundaries
Example:
tabula {{[-r|--spreadsheet]}} {{file.pdf}}-n, --no-spreadsheetbooleanExtract all tables from a PDF, using blank space to determine cell boundaries
Example:
tabula {{[-n|--no-spreadsheet]}} {{file.pdf}}Examples (6)
Extract all tables from a PDF to a CSV file
tabula [-o|--outfile] file.csv file.pdfExtract all tables from a PDF to a JSON file
tabula [-f|--format] JSON [-o|--outfile] file.json file.pdfExtract tables from pages 1, 2, 3, and 6 of a PDF
tabula [-p|--pages] 1-3,6 file.pdfExtract tables from page 1 of a PDF, guessing which portion of the page to examine
tabula [-g|--guess] [-p|--pages] 1 file.pdfExtract all tables from a PDF, using ruling lines to determine cell boundaries
tabula [-r|--spreadsheet] file.pdfExtract all tables from a PDF, using blank space to determine cell boundaries
tabula [-n|--no-spreadsheet] file.pdfmade by @shridhargupta | data from tldr-pages