Core Utility
File Utilities and Editing icon

File Utilities and Editing

Available ActionsEach successful request consumes credits as outlined below.

file-mime-type-detect5crfile-extension-from-mime5crfile-size-format5crfile-path-parse5crfile-path-join5crfile-path-normalize5crfile-csv-to-table5crfile-json-pretty-print5crfile-json-minify5crfile-base64-encode5crfile-base64-decode5crfile-hash-generate5cr

Description

A utility for file metadata operations, path manipulation, and content formatting commonly needed when working with files in automation workflows and application development. MIME type detection identifies the content type of files based on filename extensions, covering documents, images, audio, video, archives, and programming languages, while reverse lookup finds appropriate file extensions for a given MIME type. File size formatting converts byte counts into human-readable strings with automatic unit scaling from bytes through petabytes. Path manipulation functions parse file paths into components including directory, filename, name, and extension, join multiple path segments with proper separators, and normalize paths by resolving relative references and redundant separators. CSV to table conversion parses comma-separated data and formats it as an ASCII table with aligned columns for display purposes, also returning structured header and row data. JSON formatting includes pretty printing with configurable indentation for readability and minification that removes all unnecessary whitespace with size reduction statistics. Base64 encoding and decoding handles text-to-base64 conversion for data embedding and transmission. Cryptographic hash generation supports MD5, SHA-1, SHA-256, and SHA-512 algorithms for content integrity verification and fingerprinting.

File Utilities and Editing by Apoth3osis | AgentPMT