Format Conversion
Free text format conversion API interface, supports mutual conversion between Base64, Hex, URL, HTML, Unicode and other formats. One-stop text encoding/decoding service, supporting MD5, SHA256 and other hash calculations. Suitable for development debugging, data processing, format conversion and other scenarios. · Suitable for online encoding tools, development debugging, data processing, batch format conversion, password hash generation, secure encoding against XSS attacks and other scenarios · Format Conversion
Free format conversion API, Base64 conversion, Hex encoding, URL encoding, HTML escaping, Unicode conversion, MD5 hash, SHA256 hash, Text conversion tool, Encoding/decoding API
POST /text/convert - Format Conversion
Need to convert between different text formats? This endpoint supports mutual conversion between Base64, Hex, URL, HTML, Unicode and other formats, and can also generate MD5, SHA256 and other hash values.
Overview
You provide the text to convert, source format and target format, the endpoint will automatically complete the conversion. Supports 7 bidirectional formats (plain, base64, hex, url, html, unicode, binary) and 4 one-way hashes (md5, sha1, sha256, sha512).
Format Description
Bidirectional Conversion Formats: plain (plain text), base64, hex (hexadecimal), url, html (HTML entities), unicode (\uXXXX escape), binary (binary string)
One-way Hash Formats: md5, sha1, sha256, sha512 (can only be used as target format, irreversible)
Chained Conversion
Supports multiple calls to achieve complex conversions, such as first converting text to base64, then converting base64 to hex.