deploys expr in a form that can be played by Wolfram CDF Player.


deploys a notebook.


deploys the current selection in notebook.


deploys the notebook "infile.nb".

Details and Options

  • CDFDeploy is typically used to create CDF files that can be deployed to the web and played using the web browser plugin that comes with the Wolfram System and Wolfram CDF Player. Dynamic content including Manipulate outputs will be fully interactive in the resulting CDFs.
  • A path to a CDF file can also be specified as File["file.cdf"].
  • notebook may be a NotebookObject or a Notebook expression. Functions that evaluate to Notebook expressions such as DocumentNotebook, PaletteNotebook, and DialogNotebook are also acceptable.
  • CDFDeploy creates a CDF file that can be viewed by Wolfram CDF Player or the Wolfram System, and can optionally be embedded in HTML and viewed using the Player or Wolfram System plugin.
  • The following options may be given:
  • WindowSizeAutomaticthe preferred size for deployed output
    Method"Embedded"the type of CDF file to create
    "Target"Automaticdesired environment for deployed output
    DeployedTruecontrols are active but editing and selections are disabled
  • CDFDeploy creates a CDF file for embedding into a webpage by default. To create a CDF file for use as a standalone webpage, specify Method->"Standalone".
  • By default, CDFDeploy will create a CDF file based on your license. To create a FreeCDF, specify "Target"->"CDFPlayer". "Target"->"PlayerPro" requires an Enterprise license of the Wolfram System and is the default setting under that license.
  • CDFDeploy generates output as if Deploy were wrapped around it. To override this behavior, specify Deployed->False.
  • Enterprise licensed products also allow for the removal of the Player toolbar in the deployed CDF, by setting the notebook-level option PrivateNotebookOptions->{"PluginToolbarEnabled"->False} in the CDF to be deployed.
  • Information useful to deploying the resulting CDF can be determined using CDFInformation.
  • CDFDeploy["outfile.cdf","infile.nb"] will use the in-memory version of infile.nb if it is presently open in the Wolfram System.
  • CDFDeploy modifies some notebook options to alter the appearance and behavior of the notebook to maximize its usability when deployed. For example, editing content outside of interactive interfaces is disabled, and cell brackets are hidden.
  • Dynamic content will be subject to the constraints of the environment it is played in. For example, content played in the web browser plugin or in CDF Player will not have access to the local file system. Content played in the web browser plugin will not be able to create new popup windows or dialogs.


open allclose all

Basic Examples  (3)

Deploy a Manipulate:

Click for copyable input

Deploy a notebook:

Click for copyable input

Deploy a palette:

Click for copyable input

Options  (3)

See Also

CDFInformation  NotebookSave  Export  DocumentNotebook  Notebook

Introduced in 2010