This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/web/bookmarks/outlines/remove.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Remove PDF outlines using JavaScript | Nutrient SDK

Nutrient Web SDK supports creating, editing, and removing document outlines in standalone mode in the browser. For more information, refer to the operational mode guide.

With Nutrient Web SDK, you can delete PDF outlines using the instance.setDocumentOutline method. The example below shows how to do it by setting the outline to an empty NutrientViewer.Immutable.List([]):

await instance.setDocumentOutline(NutrientViewer.Immutable.List([]));