# Is there a package (jar? tar?) of html docs I can grep and browse offline for kotlin stdlib?

**URL:** <https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207>\
**Category:** Support\
**Created:** [June 23, 2020, 8:29pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207 "2020-06-23T20:29:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![travisfw](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/travisfw/32/7736_2.png) [@travisfw](https://discuss.kotlinlang.org/u/travisfw)\
**Post date:** [June 23, 2020, 8:29pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/1 "2020-06-23T20:29:57Z")

</div>

The website is fine, but sometimes I want to search through documentation more manually.  
How can I just download a directory tree of all the html?  
Why is the javadoc jar from maven central empty?

An old question is similar, but with broken links: [Kotlin Docs as single file](https://discuss.kotlinlang.org/t/kotlin-docs-as-single-file/459)

---

<div class="post-metadata">

**Author:** ![softmoore](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@softmoore](https://discuss.kotlinlang.org/u/softmoore)\
**Post date:** [June 24, 2020, 12:54pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/2 "2020-06-24T12:54:29Z")

</div>

The following link is a PDF file that is “almost” complete – it’s missing the API reference section entitled “Core Libraries”.

> **[Kotlin documentation as PDF | Kotlin](https://kotlinlang.org/docs/kotlin-pdf.html)**

---

<div class="post-metadata">

**Author:** ![travisfw](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/travisfw/32/7736_2.png) [@travisfw](https://discuss.kotlinlang.org/u/travisfw)\
**Post date:** [June 26, 2020, 2:46pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/3 "2020-06-26T14:46:04Z")

</div>

Thanks but I can’t really grep a PDF, or open it to a specific page. It’s kind of an opaque format afaik. Is that the same PDF that’s linked “full kotlin reference” from the documentation menu?

---

<div class="post-metadata">

**Author:** ![softmoore](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@softmoore](https://discuss.kotlinlang.org/u/softmoore)\
**Post date:** [June 27, 2020, 11:04am UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/4 "2020-06-27T11:04:40Z")

</div>

Yes, that is the same PDF that is linked to in the Kotlin reference. You can’t “grep” a PDF file, but you can “browse” and “search” it using a PDF reader. You can also convert it to text file using free online resources that don’t require registration. This isn’t exactly what you want, but it might work for some of your needs.

---

<div class="post-metadata">

**Author:** ![Wasabi375](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/wasabi375/32/4741_2.png) [@Wasabi375](https://discuss.kotlinlang.org/u/Wasabi375)\
**Post date:** [June 27, 2020, 2:20pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/5 "2020-06-27T14:20:19Z")

</div>

> [@travisfw](#):
>
> An old question is similar, but with broken links: [Kotlin Docs as single file](https://discuss.kotlinlang.org/t/kotlin-docs-as-single-file/459)

The link there in the end to the kotlin websites github is indeed broken. The website was moved from JetBrains github to the kotlin github. The new link is  
[https://github.com/JetBrains/kotlin-web-site/tree/master/pages/docs/reference](https://github.com/JetBrains/kotlin-web-site/tree/master/pages/docs/reference)

Not sure about the javadoc. I can’t seem to find a way to get that. I guess you could download the kotlin repo and build the docs yourself, but there surely is a better way. I created an issue [here](https://youtrack.jetbrains.com/issue/KT-39886) in the hope that this will be fixed.

---

<div class="post-metadata">

**Author:** ![Wasabi375](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/wasabi375/32/4741_2.png) [@Wasabi375](https://discuss.kotlinlang.org/u/Wasabi375)\
**Post date:** [July 10, 2020, 11:43pm UTC](https://discuss.kotlinlang.org/t/is-there-a-package-jar-tar-of-html-docs-i-can-grep-and-browse-offline-for-kotlin-stdlib/18207/6 "2020-07-10T23:43:12Z")

</div>

I just stumbled over this issue: [Provide downloadable offline documentation for Kotlin standard library API](https://youtrack.jetbrains.com/issue/KT-28426)
