What source code file extensions are recognized by JupyterHub?
Last modified date:
2019-11-28
Applied models:
- TS-X77, TS-X77U
- TS-X85, TS-X89U, TS-X83, TS-X85U, TS-X88, TS-X82
- TS-X72U, TS-X72T
- TS-X77, TS-X77U
- TS-X85, TS-X89U, TS-X83, TS-X85U, TS-X88, TS-X82
- TS-X72U, TS-X72T
Jupyterhub automatically recognizes source code files based on their file extension. Code files will be automatically opened after being uploaded.
See the list below for programming languages and their file extensions (if a file extension is listed as “undefined” then source code files of this language will not be recognized).
- Open Source Reference Document:
https://jupyter-notebook.readthedocs.io/en/latest/ui_components.html#file-editor - Example: User Interface
- Python (.py)

- Plain Text (.txt)

- Python (.py)
| ID | Coding Language | File Extension |
|---|---|---|
| 1 | APL | dyalog,apl |
| 2 | PGP | pgp |
| 3 | ASN.1 | asn,asn1 |
| 4 | Asterisk | undefined |
| 5 | Brainfuck | b,bf |
| 6 | C | c,h |
| 7 | C++ | cpp,c++,cc,cxx,hpp,h++,hh,hxx |
| 8 | Cobol | cob,cpy |
| 9 | C# | cs |
| 10 | Clojure | clj,cljc,cljx |
| 11 | ClojureScript | cljs |
| 12 | Closure Stylesheets (GSS) | gss |
| 13 | CMake | cmake,cmake.in |
| 14 | CoffeeScript | coffee |
| 15 | Common Lisp | cl,lisp,el |
| 16 | Cypher | cyp,cypher |
| 17 | Cython | pyx,pxd,pxi |
| 18 | Crystal | cr |
| 19 | CSS | css |
| 20 | CQL | cql |
| 21 | D | d |
| 22 | Dart | dart |
| 23 | diff | diff,patch |
| 24 | Django | undefined |
| 25 | Dockerfile | undefined |
| 26 | DTD | dtd |
| 27 | Dylan | dylan,dyl,intr |
| 28 | EBNF | undefined |
| 29 | ECL | ecl |
| 30 | edn | edn |
| 31 | Eiffel | e |
| 32 | Elm | elm |
| 33 | Embedded Javascript | ejs |
| 34 | Embedded Ruby | erb |
| 35 | Erlang | erl |
| 36 | Factor | factor |
| 37 | FCL | undefined |
| 38 | Forth | forth,fth,4th |
| 39 | Fortran | f,for,f77,f90 |
| 40 | F# | fs |
| 41 | Gas | s |
| 42 | Gherkin | feature |
| 43 | GitHub Flavored Markdown | undefined |
| 44 | Go | go |
| 45 | Groovy | groovy,gradle |
| 46 | HAML | haml |
| 47 | Haskell | hs |
| 48 | Haskell (Literate) | lhs |
| 49 | Haxe | hx |
| 50 | HXML | hxml |
| 51 | ASP.NET | aspx |
| 52 | HTML | html,htm |
| 53 | HTTP | undefined |
| 54 | IDL | pro |
| 55 | Pug | jade,pug |
| 56 | Java | java |
| 57 | Java Server Pages | jsp |
| 58 | Javascript | js |
| 59 | JSON | json,map |
| 60 | JSON-LD | jsonld |
| 61 | JSX | jsx |
| 62 | Jinja | undefined |
| 63 | Julia | jl |
| 64 | Kotlin | kt |
| 65 | LESS | less |
| 66 | Livescript | ls |
| 67 | Lua | lua |
| 68 | Markdown | markdown,md,mkd |
| 69 | mIRC | undefined |
| 70 | MariaDB SQL | undefined |
| 71 | Mathematica | m,nb |
| 72 | Modelica | mo |
| 73 | MUMPS | mps |
| 74 | MS SQL | undefined |
| 75 | mbox | mbox |
| 76 | MySQL | undefined |
| 77 | sNiginx | undefined |
| 78 | NSIS | nsh,nsi |
| 79 | NTriples | nt |
| 80 | Objective C | m,mm |
| 81 | OCaml | ml,mli,mll,mly |
| 82 | Octave | m |
| 83 | Oz | oz |
| 84 | Pascal | p,pas |
| 85 | PFG.js | jsonld |
| 86 | Perl | pl,pm |
| 87 | PHP | php,php3,php4,php5,phtml |
| 88 | Pig | pig |
| 89 | Plain Text | txt,text,conf,def,list,log |
| 90 | PLSQL | pls |
| 91 | PowerShell | ps1,psd1,psm1 |
| 92 | Properities files | properties,ini,in |
| 93 | ProtoBuf | proto |
| 94 | Python | BUILD,bzl,py,pyw |
| 95 | Puppet | pp |
| 96 | Q | q |
| 97 | R | r,R |
| 98 | reStructureedText | rst |
| 99 | RPM Changes | undefined |
| 100 | RPM Spec | spec |
| 101 | Ruby | rb |
| 102 | Rust | rs |
| 103 | SAS | sas |
| 104 | Sass | sass |
| 105 | Scala | scala |
| 106 | Scheme | scm,ss |
| 107 | SCSS | scss |
| 108 | Shell | sh,ksh,bash |
| 109 | Sieve | siv,sieve |
| 110 | Slim | slim |
| 111 | Smalltalk | st |
| 112 | Smarty | tpl |
| 113 | Solr | undefined |
| 114 | Solr | soy |
| 115 | SPARQL | rq,sparql |
| 116 | Spreadsheet | undefined |
| 117 | SQL | sql |
| 118 | SQLite | undefined |
| 119 | Squirrel | nut |
| 120 | Stylus | styl |
| 121 | Swift | swift |
| 122 | sTeX | undefined |
| 123 | LaTex | text,ltx |
| 124 | SystemVerilog | v |
| 125 | Tcl | tcl |
| 126 | Textile | textile |
| 127 | TiddyWili | undefined |
| 128 | Tiki wiki | undefined |
| 129 | TOML | toml |
| 130 | Tornado | undefined |
| 131 | troff | 1,2,3,4,5,6,7,8,9 |
| 132 | TTCN | ttcn,ttcn3,ttcnpp |
| 133 | TTCN_CFG | cfg |
| 134 | Turtle | ttl |
| 135 | TypeScript | ts |
| 136 | TypeScript-JSX | tsx |
| 137 | Twig | undefined |
| 138 | Web IDL | webidl |
| 139 | VB.NET | vb |
| 140 | VBScript | vbs |
| 141 | Velocity | vtl |
| 142 | Verilog | v |
| 143 | VHDL | vhd,vhdl |
| 144 | Vue.js Component | vue |
| 145 | XML | xml,xsl,xsd,svg |
| 146 | XQuery | xy,xquery |
| 147 | Yacas | ys |
| 148 | YAML | yaml,yml |
| 149 | Z80 | z80 |
| 150 | mcgen | mscgen,mscin,msc |
| 151 | xu | xu |
| 152 | msgenny | msgenny |