# Pluto export to html without including julia source code

**URL:** <https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928>\
**Category:** Tooling\
**Tags:** pluto\
**Created:** [August 18, 2023, 2:25am UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928 "2023-08-18T02:25:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adannenberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adannenberg/32/7869_2.png) [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Post date:** [August 18, 2023, 2:25am UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928/1 "2023-08-18T02:25:49Z")

</div>

The ability to save a pluto notebook to HTML is great. It looks much better as a webpage in a browser than it does as an exported pdf.

I would like to share an exported static HTML file showing my pluto notebook without also sharing the julia code. Is this possible?

---

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [August 18, 2023, 6:57am UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928/2 "2023-08-18T06:57:37Z")

</div>

Pluto export already make it _difficult_ from the front-end to show the code of cells which have the code folded, so input of folded cells is not straightforward to show but is still baked into the HTML and can be made visible with some simple javascript.

Is this enough for you or you really want to completely remove the cell inputs from the HTML file?

---

<div class="post-metadata">

**Author:** ![adannenberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adannenberg/32/7869_2.png) [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Post date:** [August 18, 2023, 2:03pm UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928/3 "2023-08-18T14:03:34Z")

</div>

If I were to export the HTML file for a notebook and send it to you, you would open that file in a browser. At the upper right is a “Edit or run this notebook” button. If you click on that you have the option to download the Julia code that defined the original notebook. So there is no difficulty.

---

<div class="post-metadata">

**Author:** ![adannenberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adannenberg/32/7869_2.png) [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Post date:** [August 19, 2023, 4:43pm UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928/4 "2023-08-19T16:43:11Z")

</div>

Just to be clear, and hopefully to prompt more responses, when I wrote “there is no difficulty” I was responding to @disberd’s post in which he said it’s already difficult to extract the Julia code from the exported HTML file. My point was that it’s easy to get the Julia code, and that’s a problem if you want to show someone what you’ve done but don’t want to share the underlying code. PDF is ok, but it’s not nearly as nice as the HTML webpage…
