PDF / File Upload
Upload PDFs, Markdown, Word, and text files as a knowledge source
What is PDF / File Upload?
File upload is the fastest way to add static knowledge to BeforeQuery. Upload any combination of PDFs, Markdown files, Word documents (.docx), plain text files (.txt), or HTML files — up to 10 MB per file. BeforeQuery extracts clean text, splits it into heading-aware chunks, embeds each chunk, and makes it instantly searchable. Files are ideal for policy documents, runbooks, internal guides, and any knowledge that does not live on a public URL.
How BeforeQuery works with PDF / File Upload
Everything you can do once the integration is connected.
PDF text extraction
BeforeQuery extracts full text content from PDF files, preserving heading structure for accurate chunk boundaries. Scanned PDFs with OCR text layers are also supported.
Markdown and MDX support
Upload .md files directly. BeforeQuery respects heading hierarchy when chunking, ensuring each chunk aligns with a logical section of your document.
Word document (.docx) ingestion
Docx files are converted to clean markdown before chunking. Heading styles, bold text, and code blocks are preserved during normalization.
Instant indexing
Files are processed synchronously on upload. Within seconds of uploading, the content is chunked, embedded, and available for search and chat.
How to set it up
In the BeforeQuery dashboard, open your project and go to Sources > Add Source > Files.
Upload one or more files (.pdf, .md, .docx, .txt, .html — max 10 MB each). BeforeQuery extracts and indexes the content immediately.
Optionally replace a file by re-uploading with the same filename. The previous version is replaced and the index is updated.
Related integrations
Connect Notion pages, databases, and wikis so your team can ask questions and get AI answers with citations from your internal knowledge.
Index Confluence Cloud or Data Center spaces and let your team ask questions with answers grounded in your own wiki content.
Connect Google Drive to index Google Docs, text-rich Sheets, and folder collections into your BeforeQuery knowledge base.
PDF / File Upload — Frequently Asked Questions
Common questions about connecting BeforeQuery to PDF / File Upload.
Ready to connect PDF / File Upload?
Start free. No credit card required. Connect your first integration in under 5 minutes.