The set statistics command allows generation of query plans in HTML format.
Use these set statistics options to generate query plans in HTML:
set statistics plan_html {on | off}
set statistics timing_html {on | off}
set statistics plan_detail_html {on | off}
set statistics parallel_plan_detail_html {on | off}
set statistics plan_directory_html {dir_name | on | off}