PostCSS Atob PostCSS plugin to encode/decode b64. //input .foo { color: atob("cmVk") } //output .foo { color: red } Usage postcss([ require('postcss-atob') ]) See PostCSS docs for examples for your environment.