14
$\begingroup$

Is there a way to convert Mathematica Notebook files (.nb) to Jupyter files (.ipynb) without using Mathematica?
Is there a free online utility or other piece of software that can do this?

$\endgroup$
5
  • $\begingroup$ This might be better asked on Stack Overflow? Unless you don't mind a solution that uses the free Wolfram Engine. Otherwise I think people might prefer being able to use the Mathematica language. $\endgroup$
    – b3m2a1
    Commented Aug 13, 2019 at 19:41
  • 2
    $\begingroup$ @b3m2a1 I assumed that OP meant creating Jupyter notebooks that still contain WL code and would be used with the free wolfram engine. $\endgroup$
    – Szabolcs
    Commented Aug 14, 2019 at 8:51
  • 3
    $\begingroup$ Jupyter notebooks are just JSON files, so at least grabbing the input cell text and placing that in an ipynb should be quite feasible, and not too hard. Converting other stuff is (much) more trouble, but still feasible. I don't have time for this, but if anyone is willing to spend and afternoon or two, it should be possible to do this. $\endgroup$
    – Szabolcs
    Commented Aug 14, 2019 at 8:53
  • $\begingroup$ Any updates with this? I'm trying to do the same thing. I have a bunch of old Mathematica notebooks that I want to use with Jupyter + Wolfram engine. $\endgroup$ Commented Sep 29, 2022 at 22:18
  • $\begingroup$ @ThatsRightJack No. $\endgroup$
    – Geremia
    Commented Sep 29, 2022 at 23:39

0

Browse other questions tagged or ask your own question.