Although covalent organic frameworks (COFs) with agraphene-like structure present unique chemical and physical properties,t hey are essentially insoluble and infusible crystalline powders with poor processability,h indering their further practical applications.H ow to improve the processability of COF materials is am ajor challenge in this field. In this contribution, we proposed ag eneral side-chain engineering strategy to construct ag el-state COF with high processability. This method takes advantages of large and soft branched alkyl side chains as internal plasticizers to achieve the gelation of the COF.W es ystematically studied the influence of the length of the side chain on the COF gel formation. Benefitting from their machinability and flexibility,this novel COF gel can be easily processed into gel-type electrolytes with specific shape and thickness,w hich were further applied to assemble lithium-ion batteries that exhibited high cycling stability.