For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search Text in PDF and Office Documents using JavaScript

Search through the UI

WebViewer, DOCX Editor, and Spreadsheet Editor each have a text search panel built into the UI to handle searching in their respective file types.

WebViewer Search UI

Search programmatically

Searching for text can be performed using programmatic APIs:

For more precise results, you can add Search.Mode options to better refine the results:

You can also progressively search for text if you don’t want to wait for the entire list of search items to be retrieved:

Last updated

Was this helpful?