Skip to main content
Jeremias Meister - Tools & Pipeline

Action Data

Escape String

Escapes special characters in a string to prevent breaking JSON, HTML, SQL, or other formats. Useful when user input contains quotes or other problematic characters.

Node IDEscapeStringAction

Parameters

ParameterTypeRequiredDefaultDescription
Input String inputString textarea Yes — The string to be escaped. Can contain quotes, backslashes, or other special characters.
Escape Mode escapeMode enum
  • Json
  • Html
  • Sql
  • Csv
  • Custom
Yes Json The type of escaping to apply. Json handles quotes, backslashes, newlines, and tabs. Html escapes HTML entities. Sql escapes single quotes for SQL. Csv escapes quotes for CSV. Custom allows you to specify characters to escape.
Custom Characters customCharacters string No — Characters to escape when using Custom mode. Each character will be escaped with a backslash. Example: "\"'" to escape quotes.

Inputs

InputTypeRequiredDescription
Execute input0 object No An execution signal to trigger the action.

Outputs

OutputTypeIdentifierDescription
Result output0 string escaped_string The string with special characters properly escaped.