Contextual output encoding for Java 8+ to help prevent XSS. Version 1.6.0 provides a zero-dependency core, String and Writer APIs, and optional javax/Jakarta JSP adapters.
OWASP Java Encoder 1.6.0 was published on October 18, 2026 and is available from Maven Central. It is the current supported release. Use encoder and one optional matching JSP adapter at version 1.6.0. Java 8 remains the minimum library runtime.
This minor release reduces unnecessary JavaScript letter escaping and changes encoded bytes and low-level streaming behavior. It retains the parser-boundary security fixes introduced in 1.5.0; versions through 1.4.1 lack those fixes. Review the release and migration notes.
The encoder-esapi adapter is retired: 1.4.1 was its final release and no version is supported. Migrate to direct context APIs. Verify downloaded artifacts using the public release key and the linked release verification guide, including signatures and release checksums.
Direct Download: encoder-jakarta-jsp-1.6.0.jar
Project Leader
Jeremy Long co-leads OWASP Java Encoder and coordinates project maintenance, releases, and security response with Jim Manico.
Project Leader
Jim Manico is the founder of Manicode Security, where he trains developers and organizations in secure coding. He is an OWASP Distinguished Lifetime Member, a Java Champion, and the author of Iron-Clad Java. He leads the OWASP AISVS, Cheat Sheet Series, Java HTML Sanitizer, and Java Encoder projects.
Recognizing key contributors who have made significant impact on this project.
Original Author
Original author of OWASP Java Encoder.