# Is it possible to import a notebook from a file?

**URL:** <https://talk.observablehq.com/t/is-it-possible-to-import-a-notebook-from-a-file/6116>\
**Category:** Help\
**Created:** [January 24, 2022, 4:29pm UTC](https://talk.observablehq.com/t/is-it-possible-to-import-a-notebook-from-a-file/6116 "2022-01-24T16:29:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [January 27, 2022, 2:24pm UTC](https://talk.observablehq.com/t/is-it-possible-to-import-a-notebook-from-a-file/6116/5 "2022-01-27T14:24:40Z")

</div>

It’s not currently possible, but there are open feature requests, e.g.:

- [Feature Request: Import Notebooks · Issue #209 · observablehq/feedback · GitHub](https://github.com/observablehq/feedback/issues/209)
- [Feature request: Sync with Github Gist / Repo · Issue #284 · observablehq/feedback · GitHub](https://github.com/observablehq/feedback/issues/284)

That said, if you log into Observable via Github and have 2FA disabled, you _might_ be able to make it work with [GitHub - mootari/observable-client](https://github.com/mootari/observable-client) and some custom code that connects to the Websocket and sends the necessary update messages. I don’t recommend it though, and the client is probably broken by now. In any case, see [this topic](https://talk.observablehq.com/t/backup-method/1628) for a lengthy discussion.

> [@hellonearthis](#):
>
> other notebook that might help, [Accessing a Notebook’s Runtime / Fabian Iwand / Observable](https://observablehq.com/@mootari/access-runtime)

You can’t modify editor contents this way. The runtime lives in the sandboxed iframe and its only task is to _run_ your notebook code. 🙂

---

_[View the full topic](https://talk.observablehq.com/t/is-it-possible-to-import-a-notebook-from-a-file/6116)._
