Is there a way to Convert an Illustrator CC file (.ai) to a layered PDF?
Illustrator files actually already contain PDF data. If you rename an illustrator file from
So actually, Illustrator files are already layered PDFs! You don't even need Illustrator to make a basic conversion.
Note that PDF viewers only understand top level layers, not sub-layers; see below for more info. Also be aware that non-Adobe PDF previewers like web browsers and Mac Preview love to ignore your preferences and show hidden layers... never send a client a PDF for review that contains a hidden layer!
You can also export as a layered PDF without the Illustrator-specific stuff.
File > Save As > PDF from Illustrator, any layers you've created will become PDF layers visibile and toggleable in PDF viewers, but only if the option Create Acrobat Layers From Top Level Layers is ticked and the compatibility is set to 6+.
Create Acrobat Layers From Top-level Layers. Saves Illustrator’s top-level layers as Acrobat layers within the PDF file. This allows Adobe Acrobat 6, 7, and 8 users to generate multiple versions of the document from a single file.
note: This option is only available when Compatibility is set to Acrobat 6 (1.5), Acrobat 7 (1.6), and Acrobat 8 (1.7).
You don't need "Preserve Illustrator Editing Capabilities" ticked to do this.
Note that PDFs can only have one level of layers unless you do some hacky trickery. So if your Illustrator file's Layers window looks like this:
... Layer 4 will get merged into Layer 2 in the PDF. If you want it to be a seperate layer in the PDF, make it a regular layer not a sub-layer.