Flexible electrodes have a wide range of applications in soft robotics and wearable electronics. The present protocol demonstrates a new strategy to fabricate highly stretchable electrodes with high resolution via lithographically defined microfluidic channels, which paves the way for future high-performance soft pressure sensors.