Is there a way to export to HTML from Org mode without the extra content at the top of the document?

For example, is it possible to export only what would be inside the <body> tags and ignore the rest?

1 Answer 1


When using org-export C-c C-e, there's a menu that shows the export options (html, plain text, etc.). In that menu, there's an option C-b for body only. Toggle this, then export, and it will export just what's in <body>.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.