Carbide-derived carbon (CDC), also known as tunable nanoporous carbon, is the common term for carbon materials derived from carbide precursors, such as binary (e.g. SiC, TiC), or ternary carbides, also known as MAX phases (e.g., Ti2AlC, Ti3SiC2). CDCs have also been derived from polymer-derived ceramics such as Si-O-C or Ti-C, and carbonitrides, such as Si-N-C. CDCs can occur in various structures, ranging from amorphous to crystalline carbon, from sp2- to sp3-bonded, and from highly porous to fully dense.