OWASP Java Encoder

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.

Latest release
1.6.0

About OWASP Java Encoder

Project Leaders

Jeremy Long

Project Leader

Jeremy Long co-leads OWASP Java Encoder and coordinates project maintenance, releases, and security response with Jim Manico.

EmailGitHub

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.

EmailLinkedIn

Major Contributors

Recognizing key contributors who have made significant impact on this project.

Jeff Ichnowski

Original Author

Original author of OWASP Java Encoder.

Project Information

Incubator Project
Classification
Code
Language
Java
License
BSD 3-Clause New or Revised License
Latest Version
1.6.0
Contributors
21
GitHub Stars
548
Downloads
424

Requirements

  • Java 8 or later at runtime
OWASP Logo
OWASP is a nonprofit foundation improving software security through open-source projects, global communities, and education. All resources are free and open to everyone.
OWASP, the OWASP logo, and Global AppSec are registered trademarks and AppSec Days, AppSec California, AppSec Cali, SnowFROC, OWASP Boston Application Security Conference, and LASCON are trademarks of the OWASP Foundation, Inc.
© 2026, OWASP Foundation Inc. All rights reserved.