Text File Encoding Workbench

Text File Encoding Workbench

Convert actual file bytes in your browser · original file stays untouched

1. Choose file and encodings

The source encoding is not guessed. Even a wrong selection can produce plausible text, so inspect the Korean preview.

Up to 4.00 MiB · one file at a time · UTF-8 and CP949 only
Preserve the source UTF-8 BOM, add one, or remove it from output.

Choose a file or load the example.

Comments & questions

Text File Encoding Workbench

Changing a filename extension does not change the bytes in a CP949 file from an older Windows program. This workbench reads a selected file using the character set you specify and writes a newly encoded byte file. For CP949 it uses the WHATWG EUC-KR index, including extended Korean syllables. If a character has no target mapping, its position and code point are shown and download is blocked. It neither guesses the source encoding nor repairs text already saved in a corrupted form.

Key features

  • Read actual file bytes strictly as an explicitly selected UTF-8 or CP949 input
  • Re-encode extended Korean syllables using the WHATWG EUC-KR index
  • List unmappable character positions and code points and block lossy output
  • Detect and preserve, add or remove a UTF-8 BOM; never add a BOM to CP949
  • Decode output again to verify identical text and disclose byte identity
  • Inspect input/output sizes, a bounded preview and control-character warnings

How to use

  1. Choose a local text file and specify the encoding used when that file was saved.
  2. Choose the target encoding and, for UTF-8 output, select whether to preserve, add or remove a BOM.
  3. Run the local conversion and inspect the preview, byte sizes and BOM status.
  4. If decoding fails or characters cannot be represented, correct the source setting or target encoding and analyze again.
  5. Download the new file only after the Unicode round-trip passes, then check it in the receiving application.

Use cases

  • Convert a Korean CP949 CSV from older Windows software to UTF-8
  • Check whether all Korean text in a TXT file can be sent to a legacy CP949 system
  • Add a UTF-8 BOM for an application that needs one, or remove it
  • Preserve Korean text and line endings while changing subtitle or log file bytes

Frequently asked questions

Does it automatically detect the source encoding?

No. Specify the actual UTF-8 or CP949 source yourself. Some byte sequences are valid under both choices, so inspect the Korean text in the preview before downloading.

What happens to emoji that CP949 cannot represent?

Their character positions and U+ code points are shown, and file download is blocked. The tool never silently substitutes a question mark or HTML code. Choose UTF-8 output to keep emoji.

What does CP949 mean here?

CP949 here follows the web standard's EUC-KR index, including extended Hangul. Nonstandard code-page variants in other software and UTF-16 files are outside this tool's scope.

Can it recover text already saved as � or garbled characters?

No. Once characters have been lost, their original values cannot be inferred. An existing U+FFFD character is flagged and preserved. For pasted mojibake text, use the separate Encoding Fixer tool.

Does it upload or overwrite my file?

No. One file up to 4 MiB is read locally and a newly named copy is downloaded. The original is untouched. CP949 output has no BOM; UTF-8 output follows your BOM choice.

Privacy

The file is read and converted in this browser tab's memory; this feature does not upload it to the site. The new file is saved only when you click Download, and the original file is untouched. Review downloaded files before sharing sensitive text.

References

Related Tools

Mojibake RepairHex File EditorFile Signature AuditorWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerFilesystem Portability AuditorSBOM License Explorernpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →