Export
Export["file.ext", expr] exports data to a file, converting it to the format corresponding to the file extension.
Export[file, expr, "fmt"] exports data in the specified format.
Examples
Export to a file:
Export["data.csv", {{1, 2}, {3, 4}}]Export an image:
Export["plot.png", Plot[Sin[x], {x, 0, 2 Pi}]]Export as PDF
Use .pdf extension to convert an expression to PDF
Export["expr.pdf", Plot[x, {x,0,1}]]This feature requires running WLJS as a desktop application. PDF export is a blocking function, avoid using it with buttons or async events - use ExportAsync instead
Please visit the official Wolfram Language Reference for more details.